AshAi.Actions.Prompt.Adapter.Raw (ash_ai v0.2.8)
View SourceAn adapter for prompt-backed actions that returns the raw llm response
Useful for example for llama-guard3 which returns either:
- "safe"
- "unsafe category" as a response.
Summary
Functions
Callback implementation for AshAi.Actions.Prompt.Adapter.run/2
.
Functions
Callback implementation for AshAi.Actions.Prompt.Adapter.run/2
.