Update chat_interface.py
Browse files- chat_interface.py +2 -2
chat_interface.py
CHANGED
@@ -28,7 +28,7 @@ client = OpenAI(
|
|
28 |
api_key=anyscale_api_key
|
29 |
)
|
30 |
|
31 |
-
qna_model = '
|
32 |
|
33 |
chromadb_client = chromadb.PersistentClient(path='./tesla_db')
|
34 |
|
@@ -139,7 +139,7 @@ demo = gr.ChatInterface(
|
|
139 |
examples=[["What was the total revenue of the company in 2022?"],
|
140 |
["Summarize the Management Discussion and Analysis section of the 2021 report in 50 words."],
|
141 |
["What was the company's debt level in 2020?"],
|
142 |
-
["Identify 5 key risks identified in the 2019 10k report?
|
143 |
["What is the view of the management on the future of electric vehicle batteries?"]
|
144 |
],
|
145 |
cache_examples=False,
|
|
|
28 |
api_key=anyscale_api_key
|
29 |
)
|
30 |
|
31 |
+
qna_model = 'meta-llama/Meta-Llama-3-8B-Instruct'
|
32 |
|
33 |
chromadb_client = chromadb.PersistentClient(path='./tesla_db')
|
34 |
|
|
|
139 |
examples=[["What was the total revenue of the company in 2022?"],
|
140 |
["Summarize the Management Discussion and Analysis section of the 2021 report in 50 words."],
|
141 |
["What was the company's debt level in 2020?"],
|
142 |
+
["Identify 5 key risks identified in the 2019 10k report?"],
|
143 |
["What is the view of the management on the future of electric vehicle batteries?"]
|
144 |
],
|
145 |
cache_examples=False,
|