You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## PROMPT_SETTINGS_FILE - Specifies which Prompt Settings file to use (defaults to prompt_settings.yaml)
26
26
# PROMPT_SETTINGS_FILE=prompt_settings.yaml
27
27
28
-
## OPENAI_API_BASE_URL - Custom url for the OpenAI API, useful for connecting to custom backends. No effect if USE_AZURE is true, leave blank to keep the default url
28
+
## OPENAI_API_BASE_URL - Custom url for the OpenAI API, useful for connecting to custom backends. No effect if USE_AZURE is true, leave blank to keep the default url
## WARNING: this feature is only supported by OpenAI's newest models. Until these models become the default on 27 June, add a '-0613' suffix to the model of your choosing.
34
+
# OPENAI_FUNCTIONS=False
35
+
32
36
## AUTHORISE COMMAND KEY - Key to authorise commands
"""Generates a feedback response based on the provided thoughts dictionary.
341
-
This method takes in a dictionary of thoughts containing keys such as 'reasoning',
342
-
'plan', 'thoughts', and 'criticism'. It combines these elements into a single
343
-
feedback message and uses the create_chat_completion() function to generate a
344
-
response based on the input message.
345
-
Args:
346
-
thoughts (dict): A dictionary containing thought elements like reasoning,
347
-
plan, thoughts, and criticism.
348
-
Returns:
349
-
str: A feedback response generated using the provided thoughts dictionary.
350
-
"""
351
-
ai_role=self.ai_config.ai_role
352
-
353
-
feedback_prompt=f"Below is a message from me, an AI Agent, assuming the role of {ai_role}. whilst keeping knowledge of my slight limitations as an AI Agent Please evaluate my thought process, reasoning, and plan, and provide a concise paragraph outlining potential improvements. Consider adding or removing ideas that do not align with my role and explaining why, prioritizing thoughts based on their significance, or simply refining my overall thought process."
0 commit comments