Show HN: Dealing with Claude 3 XML function calling so you don't have to

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • mirascope

    LLM toolkit for lightning-fast, high-quality development

  • 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.

    In [the example](https://github.com/Mirascope/mirascope/blob/main/examples/extracting_tasks_with_claude_haiku.py) 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](https://github.com/Mirascope/mirascope) and let us know what you think!

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts