Dealing with Claude 3 XML function calling so you don't have to
Hi all, our open-source Python library for fast, quality development with LLMs has added support for using Anthropic’s Claude 3 models and its XML function calling capabilities, including nested schemas and def/ref resolution. Example: https://github.com/Mirascope/mirascope/blob/main/examples/extracting_tasks_with_claude_haiku.py Repo: https://github.com/Mirascope/mirascope In the example we create a `TaskExtractor` class that can extract a fairly complex, nested `TaskDetails` schema. Haiku does a fantastic job extracting the…
What it does
In the maker’s words, at launch
Hi all, our open-source Python library for fast, quality development with LLMs has added support for using Anthropic’s Claude 3 models and its XML function calling capabilities, including nested schemas and def/ref resolution. Example: https://github.com/Mirascope/mirascope/blob/main/examples/extracting_tasks_with_claude_haiku.py Repo: https://github.com/Mirascope/mirascope In the example we create a `TaskExtractor` class that can extract a fairly complex, nested `TaskDetails` schema. Haiku does a fantastic job extracting the schema, correctly extracting everything from the task description to due dates to related tasks and metadata. To our knowledge, Mirascope is the first open-source library to support this level of nested schema definition and automatic data extraction with Claude 3. We'd love to hear feedback - have you seen similar capabilities in other libraries? What other use cases do you think this unlocks, especially with the 200K token context limit? We're excited to keep expanding Mirascope's functionality, with streaming tools (function calls) next on the roadmap. Check out the library on GitHub and let us know what you think!
Does the same job
all alternatives →More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 1d ago · opentrailpaper.com

Launched alongside, March 2024
the whole month →
- 3Y
Life & fun · 2024 · github.com
Microlaunch▲1,116Launch and get feedback on both the idea and product
Dev tools · 2024 · microlaunch.net


