OpenAICompatibleContentPart
Namespace: Vercel.AI.OpenAICompatible
public sealed class OpenAICompatibleContentPartOne text or reasoning fragment from a Chat Completions content field.
Inheritance: object
Constructors
Section titled “Constructors”OpenAICompatibleContentPart(bool, string)
Section titled “OpenAICompatibleContentPart(bool, string)”public OpenAICompatibleContentPart(bool reasoning, string text)Creates a fragment.
Parameters
| Name | Type | Description |
|---|---|---|
reasoning |
bool | |
text |
string |
Properties
Section titled “Properties”Reasoning
Section titled “Reasoning”public bool Reasoning { get; }True when the fragment is reasoning.
Value: bool
public string Text { get; }Fragment text.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product