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 the Python SDK (CometAPILLM). CometAPI is OpenAI-compatible and built on the OpenAI plugin. The JavaScript and Go SDKs expose the same options in their idiomatic form (camelCase / LLMOptions struct).

Import paths

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