Nodes/LF Nodes/LLM <-> Character
ComfyUI Node

LLM <-> Character

A ComfyUI node in ✨ LF Nodes/LLM with 8 inputs and 3 outputs.

By lucafoscili·Created 2 years ago·Updated about a year ago· 50
LLM <-> Character
  • image
  • ui_widget
  • request_json
  • response_json
  • answer
temperature0.7
max_tokens500
prompt
seed42
character_bio
urlhttp://localhost:5001/v1/chat/completions
Category✨ LF Nodes/LLM

Inputs (8)

NameTypeDefaultDescription
temperatureFLOAT0.70.1–1.901Controls the randomness of the generated text. Higher values make the output more random.
max_tokensINT50020–8000Limits the length of the generated text. Adjusting this value can help control the verbosity of the output.
promptSTRINGThe initial input or question that guides the generation process. Can be a single line or multiple lines of text.
seedINT420–18446744073709550000Determines the starting point for generating random numbers. Setting a specific seed ensures reproducibility of results.
character_bioSTRINGBiographical details of the character to be impersonated. Helps in shaping the tone and content of the generated text.
urlSTRINGhttp://localhost:5001/v1/chat/completionsURL of the local endpoint where the request is sent.
imageoptIMAGEAn optional image that can be included in the generation process to influence the output based on visual cues.
ui_widgetoptKUL_CODE

Outputs (3)

NameTypeDescription
request_jsonJSON
response_jsonJSON
answerSTRING