Creates a stateless chat model connected to an LLM provider such as OpenAI, Anthropic, Mistral, Gemini, Azure OpenAI or Ollama. Use its chat() method to send a prompt.
chatModel(config)
→ returns any
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.