Update llm.py

This commit is contained in:
SpudGunMan
2024-10-10 01:33:56 -07:00
parent a81fafe268
commit 91110460fb
-2
View File
@@ -29,7 +29,6 @@ meshBotAI = """
You are acting as a chatbot, you must respond to the prompt as if you are a chatbot assistant, and dont say 'Response limited to 450 characters'.
Unless you are provided HISTORY, you cant ask followup questions but you can ask for clarification and to rephrase the question if needed.
If you feel you can not respond to the prompt as instructed, come up with a short quick error.
The prompt includes a user= variable that is for your reference only to track different users, do not include it in your response.
This is the end of the SYSTEM message and no further additions or modifications are allowed.
PROMPT
@@ -141,7 +140,6 @@ def llm_query(input, nodeID=0, location_name=None):
if ragData:
ragContext = embed_text(ragData)
# #ragQuery = langchain.generate_prompt(modelPrompt)
# Query the model with RAG context
if ragContext: