Skip to content

OpenAICompletionPrompt

Namespace: Vercel.AI.OpenAI

public sealed class OpenAICompletionPrompt

A completion prompt and its default stop sequences.

Inheritance: object

View source

public string Prompt { get; }

Prompt text.

Value: string

View source

public IReadOnlyList<string> Stop { get; }

Stop sequences implied by the prompt.

Value: IReadOnlyList<string>

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product