mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-07-07 02:11:14 +02:00
Update llm.py
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user