bstraehle commited on
Commit
eb35929
·
1 Parent(s): a4da0c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -66,8 +66,8 @@ def invoke(openai_api_key, use_rag, prompt):
66
  description = """<strong>Overview:</strong> The app demonstrates how to use a Large Language Model (LLM) with Retrieval Augmented Generation (RAG) on external data
67
  (in this case a YouTube video, but it could be PDFs, URLs, or other structured/unstructured private/public
68
  <a href='https://raw.githubusercontent.com/bstraehle/ai-ml-dl/c38b224c196fc984aab6b6cc6bdc666f8f4fbcff/langchain/document-loaders.png'>data sources</a>).\n\n
69
- <strong>Instructions:</strong> Enter an OpenAI API key and perform LLM use cases on a <a href='https://www.youtube.com/watch?v=--khbXchTeE'>short video about GPT-4</a>
70
- (semantic search, sentiment analysis, summarization, translation, etc.)
71
  <ul style="list-style-type:square;">
72
  <li>Set "Retrieval Augmented Generation" to "False" and submit prompt "what is gpt-4". The LLM <strong>without</strong> RAG does not know the answer.</li>
73
  <li>Set "Retrieval Augmented Generation" to "True" and submit prompt "what is gpt-4". The LLM <strong>with</strong> RAG knows the answer.</li>
 
66
  description = """<strong>Overview:</strong> The app demonstrates how to use a Large Language Model (LLM) with Retrieval Augmented Generation (RAG) on external data
67
  (in this case a YouTube video, but it could be PDFs, URLs, or other structured/unstructured private/public
68
  <a href='https://raw.githubusercontent.com/bstraehle/ai-ml-dl/c38b224c196fc984aab6b6cc6bdc666f8f4fbcff/langchain/document-loaders.png'>data sources</a>).\n\n
69
+ <strong>Instructions:</strong> Enter an OpenAI API key and perform LLM use cases (semantic search, sentiment analysis, summarization, translation, etc.) on
70
+ a <a href='https://www.youtube.com/watch?v=--khbXchTeE'>short video about GPT-4</a>.
71
  <ul style="list-style-type:square;">
72
  <li>Set "Retrieval Augmented Generation" to "False" and submit prompt "what is gpt-4". The LLM <strong>without</strong> RAG does not know the answer.</li>
73
  <li>Set "Retrieval Augmented Generation" to "True" and submit prompt "what is gpt-4". The LLM <strong>with</strong> RAG knows the answer.</li>