Re-exports§
pub use tools::OllamaTool;pub use tools::ToolRegistry;pub use types::ChatRequest;pub use types::ChatRequestBuilder;pub use types::ChatResponse;pub use types::EmbedInput;pub use types::EmbedRequest;pub use types::EmbedResponse;pub use types::FunctionCall;pub use types::FunctionDefinition;pub use types::Message;pub use types::Model;pub use types::ModelDetails;pub use types::ModelFamily;pub use types::ModelInfo;pub use types::ToolCall;pub use types::ToolFormat;pub use types::Tool;pub use types::StreamChunk;pub use types::inject_tools_as_function_tag;pub use types::inject_tools_as_hermes_xml;pub use types::inject_tools_as_json_prompt;pub use types::parse_function_tag_tool_calls;pub use types::parse_hermes_tool_calls;pub use types::parse_json_tool_call;
Modules§
Macros§
- chat_
request - Macro to easily construct a
ChatRequestfrom a model and a sequence of messages. - messages
- Macro to easily construct a list of
Messagestructs.