Class AwsBedrockOptions
Inherited Members
Namespace: Glitch9.AIDevKit.AmazonAws
Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
Syntax
public sealed class AwsBedrockOptions : ITextRequestOptions, IProviderRequestOptions
Properties
| Edit this page View SourceGuardrailConfig
Optional. Configuration information for a guardrail that you want to use in the request. If you include guardContent blocks in the content field in the messages field, the guardrail operates only on those messages. If you include no guardContent blocks, the guardrail operates on all messages in the request body and in any included prompt resource.
Declaration
public GuardrailConfiguration GuardrailConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| GuardrailConfiguration |
IncludeSystemPrompts
Some bedrock models do not support system prompts. But it can be changed in the future. Set this to true to always include system prompts even if the model does not officially support it.
Declaration
public IncludeOption IncludeSystemPrompts { get; set; }
Property Value
| Type | Description |
|---|---|
| IncludeOption |
IncludeTools
Some bedrock models do not support tools. But it can be changed in the future. Set this to true to always include tools even if the model does not officially support it.
Declaration
public IncludeOption IncludeTools { get; set; }
Property Value
| Type | Description |
|---|---|
| IncludeOption |
PerformanceConfig
Optional. Model performance settings for the request.
Declaration
public PerformanceConfiguration PerformanceConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| PerformanceConfiguration |
PromptVariables
Optional. Contains a map of variables in a prompt from Prompt management to objects containing the values to fill in for them when running model invocation. This field is ignored if you don't specify a prompt resource in the modelId field.
Declaration
public Dictionary<string, TextEnvelope> PromptVariables { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, TextEnvelope> |