Skip to content

@Generable & @Guide #27

@AndrewGWalsh

Description

@AndrewGWalsh

For me, the most impressive feature of the Foundation Models is the use of the Generable Protocol and @Guide - such a neat and tidy way of getting structured data out of an LLM.

However, I am failing to get OpenAILanguageModel or AnthropicLanguageModel models to do this - is that intended? I get the following on Anthropic and something similar on OpenAI:

Task 185: Fatal error: AnthropicLanguageModel only supports generating String content

Looking at the code, I think you don’t mean it to work - and I imagine it is super-hard - but if not, can I suggest it as an enhancement?

Kind thoughts,

Andrew

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions