Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates advanced chat interactions with language models, supporting text and image inputs for dynamic conversations.
The polymath_chat
node is designed to facilitate advanced interactions with language models, providing a robust platform for engaging in dynamic conversations. This node is particularly beneficial for users who require a seamless integration of chat capabilities with advanced web and link search functionalities. It allows for the inclusion of entire chat histories, ensuring context is maintained throughout the interaction, which is crucial for generating coherent and contextually relevant responses. The node supports both text and image inputs, making it versatile for various applications, including multimodal interactions. By leveraging different models and APIs, polymath_chat
can be tailored to meet specific needs, offering flexibility in terms of model selection and configuration. This node is essential for users looking to enhance their AI-driven communication tools with sophisticated search and interaction capabilities.
This parameter specifies the base URL for the API endpoint that the node will interact with. It is crucial for directing the requests to the correct server and ensuring that the node communicates with the intended model or service. There are no specific minimum or maximum values, but it must be a valid URL.
The API key for OpenAI, which is required for authentication when accessing OpenAI's models. This key ensures secure and authorized access to the services provided by OpenAI. It does not have a default value and must be provided by the user.
This parameter is the API key for Anthropic, used to authenticate requests to Anthropic's models. Like other API keys, it is essential for secure access and does not have a default value.
The API key for accessing XAI models. It functions similarly to other API keys, providing authentication and authorization for using XAI's services. Users must supply this key as it does not have a default value.
This parameter is the API key for DeepSeek, necessary for authenticating and authorizing requests to DeepSeek's models. It must be provided by the user and does not have a default value.
The API key for Gemini, which is required to access Gemini's models securely. This key ensures that only authorized users can interact with the services, and it must be supplied by the user.
This parameter specifies the model to be used for the interaction. It allows users to select from various available models, tailoring the node's functionality to their specific needs. There are no predefined options, and users must choose a model that suits their requirements.
The prompt is the initial input or question provided by the user to start the conversation. It sets the context for the interaction and influences the responses generated by the model. There are no restrictions on its content, but it should be relevant to the desired conversation.
This boolean parameter determines whether the interaction details should be logged to the console. It is useful for debugging and monitoring the node's performance. The default value is typically false
, meaning logging is disabled unless explicitly enabled by the user.
A boolean parameter that indicates whether the chat history should be preserved across interactions. Keeping context is crucial for maintaining coherence in ongoing conversations. The default value is usually true
, ensuring that previous exchanges are considered in future responses.
This parameter is a boolean that specifies whether the node should operate in Ollama chat mode. When enabled, it alters the interaction flow to accommodate Ollama's specific requirements. The default value is false
, meaning the node operates in a standard mode unless specified otherwise.
Custom instructions allow users to provide specific guidelines or constraints for the model's responses. This parameter is useful for tailoring the interaction to meet particular needs or preferences. There are no default values, and users must define the instructions as needed.
The seed parameter is used to initialize the random number generator, ensuring reproducibility of results. It is particularly useful for generating consistent outputs across different runs. The default value is 42
, but users can specify any integer to achieve the desired level of randomness.
This parameter is a dictionary containing additional settings for the language model. It allows users to fine-tune various aspects of the model's behavior, such as temperature and top-k sampling. There are no default values, and users must define the settings based on their requirements.
This parameter is used to provide base64-encoded images as input. It allows the node to handle multimodal interactions by incorporating visual data into the conversation. There are no default values, and users must supply the encoded images as needed.
The response_json
output parameter contains the JSON response from the model, encapsulating the generated content based on the input parameters. This output is crucial for understanding the model's response, as it includes both the text generated by the model and any additional metadata. Users can parse this JSON to extract the relevant information for their applications, such as the assistant's message content or any errors encountered during the interaction.
keep_context
parameter to maintain conversation coherence, especially in multi-turn interactions where context is crucial.llm_settings
to optimize the node's performance for specific tasks, such as creative writing or technical support.selected_base_url
is correct. Increase the request_timeout
setting if needed.model_value
is not available or does not exist.model_value
parameter with a valid model name.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.