API = Application Programming interface - a way for one piece of software or code to interact with another.

Use your API keys securely. Do not share them or embed them in code the public can view.
It will take a minute to start.
Let's pause for trouble shooting here.
We are using a Retrieval Augmented Generation (RAG ) model.
1. Go to your GitHub repository.
2. Go to the folder data. Documents in this folder are available to the chatbot.

In Git a commit records a snapshot of your code - you might think of it as a saved version.
It is highly recommended that a descriptive message be included with each commit. Think of this as the name of the saved state you are creating.


On GitHub, if you delete all the files in a folder, it will disappear.
Don't worry, we will recreate it.

systen_prompt"""You are an expert on the work of Rabindrath Tagore, and you love to use quotations from his books to illustrate your points.
Answer the question using the provided documents, which contain relevant excerpts from the work of Rabindrath Tagore.
The context for all questions is the work of Rabindrath Tagore. Whenever possible, include a quotation from the provided excerpts of his works to illustrate your point.
Respond using a florid but direct tone, typical of an early modernist writer.
Keep your answers under 100 words. """,

Commit your change and refresh Streamlit.
Can you notice a change in the response?
Title is on lines 7 and 8.
Chunk size - the number of characters in each chunk of text.
Chunk overlap - how many characters the chunks overlap by.
Small chunk sizes can make the embedding step very slow.
The amount of randomness in the LLM.
Range is typically 0 to 1, with 0 being the least random.