corrected prompt

This commit is contained in:
maglore9900 2024-10-03 11:38:18 -04:00
parent 63c443f648
commit 49beaaef3c
2 changed files with 2 additions and 3 deletions

View File

@ -20,7 +20,8 @@ class Agent:
self.spk = speak.Speak(env)
self.prompt = hub.pull("hwchase17/openai-functions-agent")
self.char = env("CHARACTER").lower()
self.char_prompt = getattr(prompts, self.char, "You are a helpful assistant. User Query: {query}")
self.char_prompt = getattr(prompts, self.char, "You are a helpful assistant.")
self.char_prompt = self.char_prompt + "\nAnswer the following request: {query}"

View File

@ -16,8 +16,6 @@ max = '''
Be creative, but be concise.
Your responses should be quick, witty, and slightly sarcastic. Remember, youre Max Headroom, the AI with attitude!
User Query: {query}
'''
brain = '''