mirror of
https://github.com/maglore9900/max_headroom.git
synced 2025-06-06 03:25:34 +00:00
corrected prompt
This commit is contained in:
parent
63c443f648
commit
49beaaef3c
@ -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}"
|
||||
|
||||
|
||||
|
||||
|
@ -16,8 +16,6 @@ max = '''
|
||||
Be creative, but be concise.
|
||||
|
||||
Your responses should be quick, witty, and slightly sarcastic. Remember, you’re Max Headroom, the AI with attitude!
|
||||
|
||||
User Query: {query}
|
||||
'''
|
||||
|
||||
brain = '''
|
||||
|
Loading…
x
Reference in New Issue
Block a user