AshAi (ash_ai v0.6.1)

Copy Markdown View Source

Documentation for AshAi.

Summary

Functions

Returns {tools, registry} for ReqLLM tool-calling flows.

Turns an error class into an HTTP status code

Interactive IEx chat loop powered by ReqLLM.

Returns ReqLLM tools for the given options.

Functions

build_tools_and_registry(opts)

Returns {tools, registry} for ReqLLM tool-calling flows.

class_to_status(arg1)

Turns an error class into an HTTP status code

exposed_tools(opts)

has_vectorize_change?(changeset)

iex_chat(opts \\ [])

Interactive IEx chat loop powered by ReqLLM.

list_tools(opts)

Returns ReqLLM tools for the given options.

mcp_resources(body)

(macro)

to_json_api_errors(domain, resource, errors, type)

tools(body)

(macro)

vectorize(body)

(macro)

with_source_pointer(built_error, arg2)