chat
Chat with Nebula.
import { Nebula } from "thirdweb/ai"; const response = await Nebula.chat({ client: TEST_CLIENT, prompt: "What's the symbol of this contract: 0xe2cb0eb5147b42095c2FfA6F7ec953bb0bE347D8", context: { chains: [sepolia], },});
The input for the chat.
let input: { context?: { contractAddresses?: Array<string>; walletAddresses?: Array<string>; }; prompt: string | Array<string>; sessionId?: string;};
let returnType: { message: string; sessionId: string;};
The chat response.