Spaces:
Paused
Paused
| title: Term-4-Project | |
| app_file: new_app.py | |
| sdk: gradio | |
| sdk_version: 4.41.0 | |
| ### Overview | |
| 1) The user's query is passed through the Google Search API to create a corpus of the 10 most recent and relevant webpages. | |
| 2) The documents are split and stored into a Chroma vector store | |
| 3) Using Cohere's text embedding model, relevant snippets are collected using embedding similarity | |
| 4) The relevant snippets are compiled into context for the RAG application | |
| 5) The prompt and context are fed into Cohere's Command-R Text Generation LLM, and the output and documents are presented to the user. | |