-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add missing fields to Sign Template Signer (box/box-openapi#451)
- Loading branch information
1 parent
474e393
commit ca7b5f1
Showing
17 changed files
with
147 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{ "engineHash": "6dfffba", "specHash": "da821cd", "version": "1.0.0" } | ||
{ "engineHash": "6dfffba", "specHash": "57614c2", "version": "1.0.0" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
Box.Sdk.Gen/Schemas/AiAgentBasicTextTool/AiAgentBasicTextTool.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using Box.Sdk.Gen; | ||
using System.Text.Json.Serialization; | ||
using Box.Sdk.Gen.Schemas; | ||
|
||
namespace Box.Sdk.Gen.Schemas { | ||
public class AiAgentBasicTextTool : AiAgentBasicTextToolBase { | ||
/// <summary> | ||
/// System messages try to help the LLM "understand" its role and what it is supposed to do. | ||
/// </summary> | ||
[JsonPropertyName("system_message")] | ||
public string? SystemMessage { get; init; } | ||
|
||
/// <summary> | ||
/// The prompt template contains contextual information of the request and the user prompt. | ||
/// | ||
/// When passing `prompt_template` parameters, you **must include** inputs for `{user_question}` and `{content}`. | ||
/// | ||
/// Input for `{current_date}` is optional, depending on the use. | ||
/// </summary> | ||
[JsonPropertyName("prompt_template")] | ||
public string? PromptTemplate { get; init; } | ||
|
||
public AiAgentBasicTextTool() { | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
Box.Sdk.Gen/Schemas/AiAgentLongTextToolTextGen/AiAgentLongTextToolTextGen.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Box.Sdk.Gen; | ||
using System.Text.Json.Serialization; | ||
using Box.Sdk.Gen.Schemas; | ||
|
||
namespace Box.Sdk.Gen.Schemas { | ||
public class AiAgentLongTextToolTextGen : AiAgentBasicTextToolTextGen { | ||
[JsonPropertyName("embeddings")] | ||
public AiAgentLongTextToolTextGenEmbeddingsField? Embeddings { get; init; } | ||
|
||
public AiAgentLongTextToolTextGen() { | ||
|
||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
Box.Sdk.Gen/Schemas/AiAgentLongTextToolTextGen/AiAgentLongTextToolTextGenEmbeddingsField.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using Box.Sdk.Gen; | ||
using System.Text.Json.Serialization; | ||
using Box.Sdk.Gen.Schemas; | ||
|
||
namespace Box.Sdk.Gen.Schemas { | ||
public class AiAgentLongTextToolTextGenEmbeddingsField { | ||
/// <summary> | ||
/// The model used for the AI Agent for calculating embeddings. | ||
/// </summary> | ||
[JsonPropertyName("model")] | ||
public string? Model { get; init; } | ||
|
||
[JsonPropertyName("strategy")] | ||
public AiAgentLongTextToolTextGenEmbeddingsStrategyField? Strategy { get; init; } | ||
|
||
public AiAgentLongTextToolTextGenEmbeddingsField() { | ||
|
||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...n/Schemas/AiAgentLongTextToolTextGen/AiAgentLongTextToolTextGenEmbeddingsStrategyField.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using Box.Sdk.Gen; | ||
using System.Text.Json.Serialization; | ||
using Box.Sdk.Gen.Schemas; | ||
|
||
namespace Box.Sdk.Gen.Schemas { | ||
public class AiAgentLongTextToolTextGenEmbeddingsStrategyField { | ||
/// <summary> | ||
/// The strategy used for the AI Agent for calculating embeddings. | ||
/// </summary> | ||
[JsonPropertyName("id")] | ||
public string? Id { get; init; } | ||
|
||
/// <summary> | ||
/// The number of tokens per chunk. | ||
/// </summary> | ||
[JsonPropertyName("num_tokens_per_chunk")] | ||
public long? NumTokensPerChunk { get; init; } | ||
|
||
public AiAgentLongTextToolTextGenEmbeddingsStrategyField() { | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters