Skip to content

Commit

Permalink
MODIFIED: payload of chat_groq endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
AquibPy committed Mar 20, 2024
1 parent c92fa5b commit 031d915
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ async def groq_chatbot(question: str = Form(...), model: Optional[str] = Form('m
db = MongoDB()
payload = {
"endpoint" : "/chat_groq",
"question" : question,
"model" : model,
"conversational_memory_length": conversational_memory_length,
"output" : response['response']
Expand Down

0 comments on commit 031d915

Please sign in to comment.