Share via


AssistantsModelFactory Class

Definition

Model factory for models.

public static class AssistantsModelFactory
type AssistantsModelFactory = class
Public Class AssistantsModelFactory
Inheritance
AssistantsModelFactory

Methods

Assistant(String, DateTimeOffset, String, String, String, String, IEnumerable<ToolDefinition>, IEnumerable<String>, IReadOnlyDictionary<String, String>)

Initializes a new instance of Assistant.

AssistantCreationOptions(String, String, String, String, IEnumerable<ToolDefinition>, IEnumerable<String>, IDictionary<String,String>)

Initializes a new instance of AssistantCreationOptions.

AssistantFile(String, DateTimeOffset, String)

Initializes a new instance of AssistantFile.

AssistantThread(String, DateTimeOffset, IReadOnlyDictionary<String,String>)

Initializes a new instance of AssistantThread.

CreateAndRunThreadOptions(String, AssistantThreadCreationOptions, String, String, IEnumerable<ToolDefinition>, IDictionary<String,String>)

Initializes a new instance of CreateAndRunThreadOptions.

CreateRunOptions(String, String, String, String, IEnumerable<ToolDefinition>, IDictionary<String,String>)

Initializes a new instance of CreateRunOptions.

MessageFile(String, DateTimeOffset, String)

Initializes a new instance of MessageFile.

MessageFileCitationTextAnnotation(String, Int32, Int32, String, String)

Creates a new instance of MessageFileCitationTextAnnotation.

MessageFilePathTextAnnotation(String, Int32, Int32, String)

Creates a new instance of MessageFilePathTextAnnotation.

MessageImageFileContent(String)

Creates a new instance of MessageImageFileContent.

MessageTextAnnotation(String, String, Int32, Int32)

Initializes a new instance of MessageTextAnnotation.

MessageTextContent(String, IEnumerable<MessageTextAnnotation>)

Creates a new instance of MessageTextContent.

OpenAIFile(String, Int32, String, DateTimeOffset, OpenAIFilePurpose)

Initializes a new instance of OpenAIFile.

PageableList<T>(IReadOnlyList<T>, String, String, Boolean)

Creates a new instance of PageableListT.

RequiredFunctionToolCall(String, String, String)
RequiredToolCall(String, String)

Initializes a new instance of RequiredToolCall.

RunError(String, String)

Initializes a new instance of RunError.

RunStep(String, RunStepType, String, String, String, RunStepStatus, RunStepDetails, RunStepError, DateTimeOffset, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IReadOnlyDictionary<String,String>)

Initializes a new instance of RunStep.

RunStepCodeInterpreterImageOutput(RunStepCodeInterpreterImageReference)

Initializes a new instance of RunStepCodeInterpreterImageOutput.

RunStepCodeInterpreterImageReference(String)

Initializes a new instance of RunStepCodeInterpreterImageReference.

RunStepCodeInterpreterLogOutput(String)

Initializes a new instance of RunStepCodeInterpreterLogOutput.

RunStepCodeInterpreterToolCall(String, String, IReadOnlyList<RunStepCodeInterpreterToolCallOutput>)
RunStepError(RunStepErrorCode, String)

Initializes a new instance of RunStepError.

RunStepFunctionToolCall(String, String, String, String)
RunStepMessageCreationDetails(RunStepMessageCreationReference)

Initializes a new instance of RunStepMessageCreationDetails.

RunStepMessageCreationReference(String)

Initializes a new instance of RunStepMessageCreationReference.

RunStepRetrievalToolCall(String, IReadOnlyDictionary<String,String>)

Initializes a new instance of RunStepRetrievalToolCall.

RunStepToolCall(String, String)

Initializes a new instance of RunStepToolCall.

RunStepToolCallDetails(IEnumerable<RunStepToolCall>)

Initializes a new instance of RunStepToolCallDetails.

SubmitToolOutputsAction(IEnumerable<RequiredToolCall>)

Instantiates a new instance of SubmitToolOutputsAction.

ThreadInitializationMessage(MessageRole, String, IEnumerable<String>, IDictionary<String,String>)

Initializes a new instance of ThreadInitializationMessage.

ThreadMessage(String, DateTimeOffset, String, MessageRole, IEnumerable<MessageContent>, String, String, IEnumerable<String>, IReadOnlyDictionary<String, String>)

Initializes a new instance of ThreadMessage.

ThreadRun(String, String, String, RunStatus, RequiredAction, RunError, String, String, IEnumerable<ToolDefinition>, IEnumerable<String>, DateTimeOffset, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IReadOnlyDictionary<String,String>)

Initializes a new instance of ThreadRun.

Applies to