Spaces:
Sleeping
Sleeping
Update other_function.py
Browse files- other_function.py +1 -1
other_function.py
CHANGED
@@ -210,7 +210,7 @@ def respond_pdf(query):
|
|
210 |
for chunk in AI71(AI71_API_KEY).chat.completions.create(
|
211 |
model="tiiuae/falcon-11b",
|
212 |
messages=[
|
213 |
-
{"role": "system", "content": "You are a
|
214 |
{"role": "user", "content": f"Content:{extracted_text},Query:{query}"},
|
215 |
],
|
216 |
stream=True,
|
|
|
210 |
for chunk in AI71(AI71_API_KEY).chat.completions.create(
|
211 |
model="tiiuae/falcon-11b",
|
212 |
messages=[
|
213 |
+
{"role": "system", "content": "You are a pdf answering assistant and you have a pdf as a data."},
|
214 |
{"role": "user", "content": f"Content:{extracted_text},Query:{query}"},
|
215 |
],
|
216 |
stream=True,
|