Call out to CloudflareWorkersAI's complete endpoint. Args: prompt: The prompt to pass into the model. Returns: The string generated by the model. Example: let response = CloudflareWorkersAI.call("Tell me a joke.");
_call(
prompt: string,
options: Omit<BaseLLMCallOptions, "callbacks" | "tags" | "metadata" | "configurable" | "recursionLimit" | "runName" | "runId">,
runManager: CallbackManagerForLLMRun
): Promise<string>| Name | Type | Description |
|---|---|---|
prompt* | string | |
options* | Omit<BaseLLMCallOptions, "callbacks" | "tags" | "metadata" | "configurable" | "recursionLimit" | "runName" | "runId"> | |
runManager | CallbackManagerForLLMRun |