Skip to content

Assistants V2

Compare
Choose a tag to compare
@VRSEN VRSEN released this 26 Apr 15:16
· 101 commits to main since this release

New Features

  • Temperature and Top P Controls: Set the temperature and the top_p parameter in the Agent or Agency class, with Agent settings taking precedence.
  • Max Token Controls: Configure max_prompt_tokens, max_completion_tokens, and truncation_strategy in either the Agent or Agency class, with Agent settings taking precedence.
  • JSON Mode: Configure the response format by setting the response_format parameter in the Agent class.
  • Tool Choice: Select the tool to be used in the get_completion methods.
  • Few-Shot Examples: Add examples to the agent to fine-tune its responses. For more details, refer to the documentation.
  • File Search: The Retrieval tool has been replaced by the FileSearch tool by default. Initialize an agent to create a vector store if one does not already exist. To delete a vector store and all associated files, use agent.delete() or agency.delete() methods.
  • Enhanced Genesis Agency: Enhanced genesis agency to accommodate new features. Upgraded ToolCreator agent's CreateTool with a more robust architecture.

Full Changelog: View Changelog