Nodes/ComfyUI-YogurtNodes/FreedomGPT Generate Text
ComfyUI Node

FreedomGPT Generate Text

Generate text using FreedomGPT API

By yogurt7771·Created 2 years ago·Updated 2 months ago· 0
FreedomGPT Generate Text
  • history
  • text
  • history
  • payload
api_key
model_nameliberty
system_prompt
prompt
temperature1.00
top_p1.00
top_k40
max_tokens4096
retry_count1
chat_template<-system-> {{system_instruction}} <-/system-> <-user-> {{prompt}} <-/user->
seed-1
proxy_url
timeout0
extra{}
CategoryYogurtNodes/LLM

Inputs (15)

NameTypeDefaultDescription
api_keySTRINGAPI key for accessing FreedomGPT API
model_nameSTRINGlibertyFreedomGPT model name
system_promptSTRINGSystem-level prompt that affects the overall conversation style
promptSTRINGMain prompt content input by the user
temperatureFLOAT1.000–2Sampling temperature, higher values produce more random outputs
top_pFLOAT1.000–1Sampling probability threshold, controls output diversity
top_kINT401–100Top-K sampling parameter, limits vocabulary to top K tokens
max_tokensINT40960–32768Maximum number of tokens in the generated text
retry_countINT11–10Number of retry attempts if the request fails
chat_templateSTRING<-system-> {{system_instruction}} <-/system-> <-user-> {{prompt}} <-/user->Content template for the generated text
seedINT-1-1–2147483647Random seed for reproducible results, -1 for random
proxy_urlSTRING代理URL,格式: protocol://user:pass@addr:port,支持http,https,socks5,socks5h
timeoutINT00–2147483647Timeout for the request in seconds, 0 means no timeout
historyoptHISTORY
extraoptSTRING{}Extra parameters for the request, in JSON format

Outputs (3)

NameTypeDescription
textSTRING
historyHISTORY
payload*