Nodes/ComfyUI_LiteLLM/AddDataModelToLLLm
ComfyUI Node

AddDataModelToLLLm

A ComfyUI node in ETK/LLM/LiteLLM with 3 inputs and 1 output.

By Hopping-Mad-Games·Created 2 years ago·Updated 11 months ago· 7
AddDataModelToLLLm
  • model
  • data_model
  • Litellm model
codeclass UserModel(BaseModel): name: str= Field(..., description='The name of the person') age: int
CategoryETK/LLM/LiteLLM

Inputs (3)

NameTypeDefaultDescription
modelLITELLM_MODELanthropic/claude-3-haiku-20240307
codeoptSTRINGclass UserModel(BaseModel): name: str= Field(..., description='The name of the person') age: int
data_modeloptDATA_MODEL

Outputs (1)

NameTypeDescription
Litellm modelLITELLM_MODEL