Class OpenAIObject
Base class for all OpenAI API response objects. Provides common properties shared across different OpenAI API endpoints.
Inheritance
OpenAIObject
Inherited Members
Namespace: Glitch9.AIDevKit.OpenAI
Assembly: Glitch9.AIDevKit.dll
Syntax
public abstract class OpenAIObject
Properties
| Edit this page View SourceId
The unique identifier for this object. This ID can be used to reference the object in subsequent API calls.
Declaration
[JsonProperty("id")]
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Object
The object type, which indicates what kind of object this is. Examples: "chat.completion", "embedding", "image", "model", etc. This field helps distinguish between different response types in the OpenAI API.
Declaration
[JsonProperty("object")]
public string Object { get; set; }
Property Value
| Type | Description |
|---|---|
| string |