Skip to main content
CometAPI is an LLM plugin. It exposes many models behind a single OpenAI-compatible endpoint, so you can switch models without changing providers. It takes the transcribed conversation and generates the reply.

Setup

Set your CometAPI key in the worker environment. Generate a key from the CometAPI console:

Usage

Import the plugin and pass it to the pipeline’s llm slot.

Configuration Options

Constructor parameters for CometAPILLM. The Python and Node JS SDKs share these field names. CometAPI is OpenAI-compatible and built on the OpenAI plugin.

Import paths

The reply is streamed to the text-to-speech plugin, which synthesizes the agent’s voice.