Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,8 @@ def invoke(openai_api_key, use_rag, prompt):
|
|
77 |
|
78 |
description = """<strong>Overview:</strong> The app demonstrates how to use a Large Language Model (LLM) with Retrieval Augmented Generation (RAG) on external data
|
79 |
(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
|
80 |
-
<strong>Instructions:</strong> Enter an OpenAI API key and perform LLM use cases (semantic search,
|
|
|
81 |
<ul style="list-style-type:square;">
|
82 |
<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>
|
83 |
<li>Set "Retrieval Augmented Generation" to "<strong>True</strong>" and submit prompt "Explain GPT-4". The LLM <strong>with</strong> RAG knows the answer.</li>
|
|
|
77 |
|
78 |
description = """<strong>Overview:</strong> The app demonstrates how to use a Large Language Model (LLM) with Retrieval Augmented Generation (RAG) on external data
|
79 |
(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
|
80 |
+
<strong>Instructions:</strong> Enter an OpenAI API key and perform LLM use cases (semantic search, summarization, translation, etc.) on
|
81 |
+
<strong>YouTube videos about GPT-4</strong>, created after the GPT-4 training cutoff.
|
82 |
<ul style="list-style-type:square;">
|
83 |
<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>
|
84 |
<li>Set "Retrieval Augmented Generation" to "<strong>True</strong>" and submit prompt "Explain GPT-4". The LLM <strong>with</strong> RAG knows the answer.</li>
|