I'm using Ash and AshAI for a new project, but I'm running in to some problems when I try to use
LangChain.ChatModels.ChatOpenAIResponses
LangChain.ChatModels.ChatOpenAIResponses
instead of
LangChain.ChatModels.ChatOpenAI
LangChain.ChatModels.ChatOpenAI
when it comes to tools.
If I expose a non-generic actions I get the following error complaining about
additionalProperties
additionalProperties
in the schema generated by ash_ai.
[error] Received error from API: "Invalid schema for function 'create_documents': In context=('properties', 'input'), 'additionalProperties' is required to be supplied and to be false."
Is there some config I'm missing that sets this required additionalProperties property everywhere, or maybe somewhere I can hook into to manipulate the schema?
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.