Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > Sage Utils > Ollama LLM Prompt (Text)

ComfyUI Node: Ollama LLM Prompt (Text)

Class Name

Sage_OllamaLLMPromptText

Category
Sage Utils/LLM/Ollama
Author
arcum42 (Account age: 6442days)
Extension
Sage Utils
Latest Updated
2026-05-17
Github Stars
0.03K

How to Install Sage Utils

Install this extension via the ComfyUI Manager by searching for Sage Utils
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Sage Utils in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Ollama LLM Prompt (Text) Description

Facilitates interaction with language models for creative content, Q&A, and explanations.

Ollama LLM Prompt (Text):

The Sage_OllamaLLMPromptText node is designed to facilitate interaction with language models by sending text prompts and receiving responses. This node is particularly useful for generating creative content, answering questions, or obtaining detailed explanations from a language model. It leverages the capabilities of models installed via Ollama, allowing you to harness advanced natural language processing techniques without needing deep technical expertise. The primary goal of this node is to streamline the process of crafting and sending prompts to a language model, making it accessible and efficient for AI artists and other users who wish to explore the potential of AI-driven text generation.

Ollama LLM Prompt (Text) Input Parameters:

prompt

The prompt parameter is a text input where you can enter the initial text or question you wish to send to the language model. This input serves as the basis for the model's response, and its content can significantly influence the quality and relevance of the output. The prompt should be clear and concise to ensure the model understands the context and intent. There are no specific minimum or maximum values, but the prompt should be meaningful and relevant to the desired outcome.

model

The model parameter allows you to select from a list of available language models installed via Ollama. This choice determines the specific model that will process your prompt and generate a response. Different models may have varying strengths, such as creativity, factual accuracy, or conversational ability, so selecting the appropriate model is crucial for achieving the desired results. The options are sorted and presented in a dropdown menu for easy selection.

seed

The seed parameter is an integer input that influences the randomness of the model's response. By setting a specific seed value, you can ensure that the same prompt will yield consistent results across different runs. This is particularly useful for reproducibility and experimentation. The default value is 0, with a minimum of 0 and a maximum of 2^32

  • 1, allowing for a wide range of possible seed values.

Ollama LLM Prompt (Text) Output Parameters:

initial_response

The initial_response output provides the direct response generated by the language model based on the input prompt. This output is crucial for understanding how the model interprets and reacts to the given text, offering insights into its capabilities and limitations. The response can vary in length and detail depending on the prompt and model used.

Ollama LLM Prompt (Text) Usage Tips:

  • Experiment with different prompts to see how the model's responses vary. This can help you understand the model's strengths and tailor your prompts for better results.
  • Use the seed parameter to maintain consistency in responses when testing different prompts or models. This can be particularly useful for comparing outputs or ensuring reproducibility in creative projects.

Ollama LLM Prompt (Text) Common Errors and Solutions:

Model not found

  • Explanation: This error occurs when the selected model is not installed or recognized by the system.
  • Solution: Ensure that the model is correctly installed via Ollama and that it appears in the list of available models. If not, reinstall the model or check for updates.

Invalid prompt input

  • Explanation: This error arises when the prompt input is empty or contains unsupported characters.
  • Solution: Verify that the prompt is not empty and does not contain any special characters that might be unsupported. Re-enter the prompt with clear and concise text.

Ollama LLM Prompt (Text) Related Nodes

Go back to the extension to check out more related nodes.
Sage Utils
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.