v0.2.0

VRSEN/agency-swarmv0.2.0Apr 26, 2024by VRSEN

AI Summary

This release marks the Assistants V2 update, bringing granular control over generation parameters like temperature, top_p, and max tokens. It also replaces the Retrieval tool with File Search and introduces Few-Shot Examples.

Key Highlights

  • Temperature and Top P controls
  • Max Token controls
  • JSON Mode configuration
  • File Search tool replacement

New Features

  • Temperature and Top P controls
  • Max Token controls
  • JSON Mode support
  • Tool Choice selection
  • Few-Shot Examples
  • File Search tool
  • Enhanced Genesis Agency

Full Release Notes

## 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](https://vrsen.github.io/agency-swarm/advanced-usage/agents/#few-shot-examples).
- **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](https://github.com/VRSEN/agency-swarm/compare/v0.1.7...v0.2.0)