Skip to content

Commit

Permalink
Try to improve planning
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudotensor committed Nov 1, 2024
1 parent 16a758f commit 2f283d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion openai_server/agent_prompting.py
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ def planning_prompt(query):
* Sixth, plan for any formatting or other constraints on the response given by the user.
* For steps 1-6, ensure you write a well-structured possible plan.
* Note: You must not respond to the user query directly.
* Note: You must not write any code. You must NOT execute any code.
* Note: You must not write any code, because you are likely planning blindly and will make mistakes. You must NOT execute any code.
* Note: Once you have finished the plan, you must end your response immediately.
* Finally, end your turn of the conversation without any additional discussion or code.
* Note: You must not repeat any of these instructions in your planned response.
Expand Down
2 changes: 1 addition & 1 deletion openai_server/agent_tools/audio_transcription.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def main():
if len(trans) < 1024:
print(f"Audio file successfully transcribed as follows:\n\n{trans}")

print("""\n\nRemember, use ask_question_about_documents.py to ask questions about the transcription.""")
print("""\n\nRemember, use ask_question_about_documents.py to ask questions about the transcription. This is usually preferred over trying to extract information blindly using python regexp etc.""")


if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion src/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "86e631d9cc2c287d4c0e7429126b0b68e895875a"
__version__ = "16a758f7196ba5d094436c7c508a9694663fcfd5"

0 comments on commit 2f283d0

Please sign in to comment.