-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathtryAGI.OpenAI.Models.CreateAssistantRequestToolResourcesFileSearchVectorStore.g.cs
More file actions
66 lines (59 loc) · 3.84 KB
/
tryAGI.OpenAI.Models.CreateAssistantRequestToolResourcesFileSearchVectorStore.g.cs
File metadata and controls
66 lines (59 loc) · 3.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#nullable enable
namespace tryAGI.OpenAI
{
/// <summary>
///
/// </summary>
public sealed partial class CreateAssistantRequestToolResourcesFileSearchVectorStore
{
/// <summary>
/// A list of [file](/docs/api-reference/files) IDs to add to the vector store. For vector stores created before Nov 2025, there can be a maximum of 10,000 files in a vector store. For vector stores created starting in Nov 2025, the limit is 100,000,000 files.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("file_ids")]
public global::System.Collections.Generic.IList<string>? FileIds { get; set; }
/// <summary>
/// The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("chunking_strategy")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter<global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyAutoChunkingStrategy, global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy>))]
public global::tryAGI.OpenAI.OneOf<global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyAutoChunkingStrategy, global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy>? ChunkingStrategy { get; set; }
/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")]
public global::System.Collections.Generic.Dictionary<string, string>? Metadata { get; set; }
/// <summary>
/// Additional properties that are not explicitly defined in the schema
/// </summary>
[global::System.Text.Json.Serialization.JsonExtensionData]
public global::System.Collections.Generic.IDictionary<string, object> AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary<string, object>();
/// <summary>
/// Initializes a new instance of the <see cref="CreateAssistantRequestToolResourcesFileSearchVectorStore" /> class.
/// </summary>
/// <param name="fileIds">
/// A list of [file](/docs/api-reference/files) IDs to add to the vector store. For vector stores created before Nov 2025, there can be a maximum of 10,000 files in a vector store. For vector stores created starting in Nov 2025, the limit is 100,000,000 files.
/// </param>
/// <param name="chunkingStrategy">
/// The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy.
/// </param>
/// <param name="metadata"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public CreateAssistantRequestToolResourcesFileSearchVectorStore(
global::System.Collections.Generic.IList<string>? fileIds,
global::tryAGI.OpenAI.OneOf<global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyAutoChunkingStrategy, global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy>? chunkingStrategy,
global::System.Collections.Generic.Dictionary<string, string>? metadata)
{
this.FileIds = fileIds;
this.ChunkingStrategy = chunkingStrategy;
this.Metadata = metadata;
}
/// <summary>
/// Initializes a new instance of the <see cref="CreateAssistantRequestToolResourcesFileSearchVectorStore" /> class.
/// </summary>
public CreateAssistantRequestToolResourcesFileSearchVectorStore()
{
}
}
}