We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f595ff0 commit abe8921Copy full SHA for abe8921
generate_response.py
@@ -56,8 +56,6 @@ def call_llm(body):
56
[/INST]
57
"""
58
59
-
60
61
context_docs = get_query_results(query)
62
context_string = " ".join([doc["text"] for doc in context_docs])
63
@@ -78,8 +76,6 @@ def call_llm(body):
78
76
messages=[{"role": "user", "content": prompt}], max_tokens=300
79
77
)
80
81
82
- print(output.choices[0].message.content)
83
# Try to extract the JSON array from the output string
84
output_text = output.choices[0].message.content
85
0 commit comments