AssistantsModelFactory.AssistantFile(String, DateTimeOffset, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of AssistantFile.
public static Azure.AI.OpenAI.Assistants.AssistantFile AssistantFile (string id = default, DateTimeOffset createdAt = default, string assistantId = default);
static member AssistantFile : string * DateTimeOffset * string -> Azure.AI.OpenAI.Assistants.AssistantFile
Public Shared Function AssistantFile (Optional id As String = Nothing, Optional createdAt As DateTimeOffset = Nothing, Optional assistantId As String = Nothing) As AssistantFile
Parameters
- id
- String
The identifier, which can be referenced in API endpoints.
- createdAt
- DateTimeOffset
The Unix timestamp, in seconds, representing when this object was created.
- assistantId
- String
The assistant ID that the file is attached to.
Returns
A new AssistantFile instance for mocking.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET