Skip to content

Commit

Permalink
Added tool factory import to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
VRSEN committed Mar 5, 2024
1 parent f2e490d commit accfae4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ Define your custom tools with [Instructor](https://github.com/jxnl/instructor):
or convert from OpenAPI schemas:

```python
from agency_swarm.tools import ToolFactory
# using local file
with open("schemas/your_schema.json") as f:
ToolFactory.from_openapi_schema(
Expand Down

0 comments on commit accfae4

Please sign in to comment.