Expand description
Translation between OpenAI tool/function descriptors and SIM callables.
Structs§
- Open
AiTool - A single OpenAI function tool bound to a SIM callable.
- Open
AiTool Call - A tool invocation requested by the model: an id, tool name, and JSON arguments.
- Open
AiTool Registry - Collection of
OpenAiToolentries keyed by OpenAI tool name. - Open
AiTool Result - The outcome of an
OpenAiToolCall: a status symbol and result payload.
Functions§
- openai_
name_ to_ symbol - Converts an OpenAI tool name into a SIM
Symbol, splitting on the first_into a namespace and local name and replacing remaining_with-. - symbol_
from_ text - Parses a SIM symbol from text, treating a
namespace/nameform as a qualified symbol; errors on empty or malformed input.