AshAi.Actions.Prompt.Adapter.CompletionTool (ash_ai v0.4.0)
View SourceAn adapter that provides a "complete_request" tool that the LLM must call within max_runs messages to complete the request.
Adapter Options
:max_runs- The maximum number of times to allow the LLM to repeatedly generate responses/call tools before the action is considered failed.
Summary
Functions
Callback implementation for AshAi.Actions.Prompt.Adapter.run/2.
Functions
Callback implementation for AshAi.Actions.Prompt.Adapter.run/2.