Class AzureOpenAIFileMapping
- Assembly
- FoundationaLLM.Common.dll
Provides details about a file mapping between FoundationaLLM and Azure OpenAI.
public class AzureOpenAIFileMapping : AzureOpenAIResourceBase, IFileMapping
- Inheritance
-
AzureOpenAIFileMapping
- Implements
- Inherited Members
- Extension Methods
Constructors
AzureOpenAIFileMapping()
Set default property values.
public AzureOpenAIFileMapping()
Properties
FileContentType
The content type of the file.
[JsonPropertyName("file_content_type")]
public required string FileContentType { get; set; }
Property Value
FileObjectId
The FoundationaLLM.Attachment resource object id.
[JsonPropertyName("file_object_id")]
public required string FileObjectId { get; set; }
Property Value
FileRequiresVectorization
Indicates whether the file requires vectorization or not.
[JsonPropertyName("file_requires_vectorization")]
public bool FileRequiresVectorization { get; set; }
Property Value
OpenAIAssistantsFileGeneratedOn
The time when the file was generated by OpenAI.
[JsonPropertyName("openai_assistants_file_generated_on")]
public DateTimeOffset? OpenAIAssistantsFileGeneratedOn { get; set; }
Property Value
OpenAIFileId
The OpenAI file id associated with the FoundationaLLM file (attachment) id.
[JsonPropertyName("openai_file_id")]
public required string OpenAIFileId { get; set; }
Property Value
OpenAIFileUploadedOn
The time when the file was uploaded to OpenAI.
[JsonPropertyName("openai_file_uploaded_on")]
public DateTimeOffset? OpenAIFileUploadedOn { get; set; }
Property Value
OpenAIVectorStoreId
The OpenAI vector store id holding the vectorized content of the OpenAI file.
[JsonPropertyName("openai_vector_store_id")]
public string? OpenAIVectorStoreId { get; set; }
Property Value
OriginalFileName
The original file name of the file.
[JsonPropertyName("original_file_name")]
public required string OriginalFileName { get; set; }