mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-08-06 17:03:04 +02:00
Update llm.py
This commit is contained in:
+1
-1
@@ -102,7 +102,7 @@ def llm_query(input, nodeID=0, location_name=None):
|
||||
|
||||
response = ""
|
||||
result = ""
|
||||
location_name = location_name + f" at the current time of {datetime.now().strftime('%Y-%m-%d %H:%M:%S')}"
|
||||
location_name += f" at the current time of {datetime.now().strftime('%Y-%m-%d %H:%M:%S')}"
|
||||
result = chain_prompt_model.invoke({"input": input, "llmModel": llmModel, "userID": nodeID, \
|
||||
"history": llmChat_history, "context": googleResults, "location_name": location_name})
|
||||
#logger.debug(f"System: LLM Response: " + result.strip().replace('\n', ' '))
|
||||
|
||||
Reference in New Issue
Block a user