Skip to content

Design choice: Custom tooling vs. gollm's built-in tools #2

@yisrael-rosen

Description

@yisrael-rosen

Generated by Gemini experimental 1206 🤖

The Enzu framework utilizes a custom tooling mechanism that currently uses JSON for representing function calls and parameters, despite gollm's native support for tool handling via its integrated tools functionality.

What is the rationale behind developing a separate system within Enzu? What specific advantages or capabilities does the custom implementation offer that are not achievable with gollm's built-in tools?

Were there any technical limitations or performance considerations that influenced this design choice? Was the potential for code simplification and enhanced gollm integration through the use of its native tools mechanism evaluated?

It's worth noting that Enzu's current implementation uses JSON, while gollm's approach, especially when interacting with Anthropic's API, appears to be more aligned with Anthropic's recommendations by utilizing XML for function calling. This potentially allows for more accurate and reliable communication with the API. Adopting gollm's built-in tools mechanism might improve compatibility and accuracy, particularly when using Anthropic models.

Understanding the motivations behind this architectural decision would greatly aid in comprehending the overall design philosophy of Enzu.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions