- Category: ai models
- Auth: API_KEY
- Composio-managed OAuth available? N/A
- Tools: 8
- Triggers: 0
- Slug:
OLLAMA - Version: 20261101_00
Tools
Chat with Ollama model
Chat with Ollama model
Generate Text with Ollama
Generate Text with Ollama
Slug:
OLLAMA_GENERATETool to generate text responses from Ollama models with optional raw mode. Use raw=true to bypass prompt templating when you need full control over the prompt for debugging or custom processing. Note that raw mode will not return a context.Input Parameters
When true, bypasses prompt templating and returns the raw response from the model. Use this for debugging or when you need full control over the prompt. Note: raw mode will not return a context.
Text for the model to generate a response from. Required unless using raw mode with a complete prompt.
When true, returns partial responses as stream. Default is false for non-streaming responses.
Output
List Models
List Models
OpenAI-Compatible Chat Completion
OpenAI-Compatible Chat Completion
Slug:
OLLAMA_OPEN_AI_CHAT_COMPLETIONSTool to create OpenAI-compatible chat completions using Ollama models. Use when you need conversational AI responses with OpenAI API format compatibility.Input Parameters
Stop sequences where the API will stop generating further tokens. Can be a string or array of strings
Modify likelihood of specified tokens appearing in the completion. Map of token IDs to bias values (-100 to 100)
Sampling temperature for randomness (0-2). Higher values make output more random. Default: 1.0
Output
OpenAI-Compatible Text Completion
OpenAI-Compatible Text Completion
Slug:
OLLAMA_OPEN_AI_COMPLETIONSTool to create OpenAI-compatible text completions using Ollama models. Use when you need text generation with OpenAI API format compatibility beyond chat-based interactions.Input Parameters
Random seed for reproducible outputs. Same seed with same parameters should yield same result
Nucleus sampling parameter controlling diversity (0-1). Recommended to alter either temperature or top_p, not both. Default: 1.0
Text prompt for completion generation. Note: Currently only accepts a string, not arrays
Maximum number of tokens to generate in the completion. Total of prompt + max_tokens cannot exceed model’s context length
Controls randomness in output (0-2). Lower values make output more focused, higher values more random. Default: 1.0
Penalizes tokens based on whether they appear in text so far (-2.0 to 2.0). Positive values encourage new topics. Default: 0
Penalizes tokens based on frequency in text so far (-2.0 to 2.0). Positive values decrease repetition. Default: 0
Output
List Models (OpenAI Compatible)
List Models (OpenAI Compatible)