Skip to content

Commit

Permalink
Conversation works
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Osmond authored and a-gleeson committed Apr 21, 2024
1 parent cf890ae commit 997112a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/pages/3_Summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ def llm_summarise(transcript: str) -> str:


def query_llm(prompt: str, transcript: str, conversationId) -> str:
query = f"With knowledge of this transcript:\n{{transcript}}\n\nAnswer this query: {prompt}"
query = f"With knowledge of this transcript:\n{transcript}\n\nAnswer this query: {prompt}"
print(query)
query_response = conversation_api.invoke_post(query, conversationId)
time.sleep(15)
chat_response = conversation_api.invoke_get(query_response["conversationId"])
Expand Down

0 comments on commit 997112a

Please sign in to comment.