GroqAdapter

Copilot Runtime adapter for Groq.


Copilot Runtime adapter for Groq.

Example

import { CopilotRuntime, GroqAdapter } from "@copilotkit/runtime";
import { Groq } from "groq-sdk";
 
const groq = new Groq({ apiKey: process.env["GROQ_API_KEY"] });
 
const copilotKit = new CopilotRuntime();
 
return new GroqAdapter({ groq, model: "<model-name>" });

Constructor Parameters

Prop

Type

Prop

Type

Prop

Type