Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/openai/resources/mod.ts>ChatCompletionFunctionMessageParam

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface ChatCompletionFunctionMessageParam
Deprecated
import { type ChatCompletionFunctionMessageParam } from "https://deno.land/x/openai@v4.52.0/resources/mod.ts";

Properties

content: string | null

The contents of the function message.

name: string

The name of the function to call.

role: "function"

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