ComfyUI > Nodes > comfyui_LLM_Polymath > LLM Polymath Chat with Advanced Web and Link Search

ComfyUI Node: LLM Polymath Chat with Advanced Web and Link Search

Class Name

polymath_chat

Category
Polymath
Author
lum3on (Account age: 105days)
Extension
comfyui_LLM_Polymath
Latest Updated
2025-05-18
Github Stars
0.06K

How to Install comfyui_LLM_Polymath

Install this extension via the ComfyUI Manager by searching for comfyui_LLM_Polymath
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui_LLM_Polymath 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

LLM Polymath Chat with Advanced Web and Link Search Description

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.

selected_base_url

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.

api_key_oai

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.

api_key_anthropic

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.

api_key_xai

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.

api_key_deepseek

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.

api_key_gemini

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.

model_value

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.

prompt

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.

console_log

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.

keep_context

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.

ollama_chat_mode

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_instruction

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.

seed

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.

llm_settings

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.

b64

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.

response_json

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.

  • Ensure that all required API keys are correctly configured to avoid authentication errors and ensure smooth operation.
  • Utilize the keep_context parameter to maintain conversation coherence, especially in multi-turn interactions where context is crucial.
  • Experiment with different models and llm_settings to optimize the node's performance for specific tasks, such as creative writing or technical support.

Invalid API Key

  • Explanation: This error occurs when the provided API key is incorrect or has expired.
  • Solution: Verify that the API key is correct and has not expired. Obtain a new key if necessary.

Connection Timeout

  • Explanation: The node failed to connect to the API endpoint within the specified timeout period.
  • Solution: Check your internet connection and ensure the selected_base_url is correct. Increase the request_timeout setting if needed.

Model Not Found

  • Explanation: The specified model in model_value is not available or does not exist.
  • Solution: Double-check the model name and ensure it is available in the selected API service. Update the model_value parameter with a valid model name.

Invalid Base64 Image

  • Explanation: The provided base64-encoded image is not valid or cannot be decoded.
  • Solution: Ensure the image is correctly encoded in base64 format. Verify the integrity of the image data before passing it to the node.

LLM Polymath Chat with Advanced Web and Link Search Related Nodes

Go back to the extension to check out more related nodes.
comfyui_LLM_Polymath
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 Playground, enabling artists to harness the latest AI tools to create incredible art.