dependencies is a dictionary that contains a set of functions (or static variables) that are resolved before the team runs.
You can use dependencies to inject memories, dynamic few-shot examples, “retrieved” documents, etc.
dependencies.py
Dependencies are automatically resolved when the team is run.
Adding the entire context to the user message
Setadd_dependencies_to_context=True to add the entire list of dependencies to the user message. This way you don’t have to manually add the dependencies to the instructions.
dependencies_instructions.py
Developer Resources
- View the Team schema
- View Cookbook