Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ def invoke(openai_api_key, use_rag, prompt):
|
|
75 |
return result
|
76 |
|
77 |
description = """<strong>Overview:</strong> The app demonstrates how to use a Large Language Model (LLM) with Retrieval Augmented Generation (RAG) on external data
|
78 |
-
(
|
79 |
<strong>Instructions:</strong> Enter an OpenAI API key and perform LLM use cases (semantic search, sentiment analysis, summarization, translation, etc.) on YouTube videos about GPT-4.
|
80 |
<ul style="list-style-type:square;">
|
81 |
<li>Set "Retrieval Augmented Generation" to "<strong>False</strong>" and submit prompt "explain gpt-4". The LLM <strong>without</strong> RAG does not know the answer.</li>
|
|
|
75 |
return result
|
76 |
|
77 |
description = """<strong>Overview:</strong> The app demonstrates how to use a Large Language Model (LLM) with Retrieval Augmented Generation (RAG) on external data
|
78 |
+
(YouTube videos, PDFs, URLs, or other <a href='https://raw.githubusercontent.com/bstraehle/ai-ml-dl/c38b224c196fc984aab6b6cc6bdc666f8f4fbcff/langchain/document-loaders.png'>data sources</a>).\n\n
|
79 |
<strong>Instructions:</strong> Enter an OpenAI API key and perform LLM use cases (semantic search, sentiment analysis, summarization, translation, etc.) on YouTube videos about GPT-4.
|
80 |
<ul style="list-style-type:square;">
|
81 |
<li>Set "Retrieval Augmented Generation" to "<strong>False</strong>" and submit prompt "explain gpt-4". The LLM <strong>without</strong> RAG does not know the answer.</li>
|