Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/chat/completions.ts>ChatCompletionFunctionMessageParam

Deno build of the official Typescript library for the OpenAI API. Source: https://github.com/openai/openai-node
Extremely Popular
Go to Latest
interface ChatCompletionFunctionMessageParam
import { type ChatCompletionFunctionMessageParam } from "https://deno.land/x/openai@v4.19.1/resources/chat/completions.ts";

Properties

content: string | null

The return value from the function call, to return to the model.

name: string

The name of the function to call.

role: "function"

The role of the messages author, in this case function.