Search Results for

    Show / Hide Table of Contents

    Class AwsBedrockOptions

    Inheritance
    object
    AwsBedrockOptions
    Implements
    ITextRequestOptions
    IProviderRequestOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.AmazonAws
    Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
    Syntax
    public sealed class AwsBedrockOptions : ITextRequestOptions, IProviderRequestOptions

    Properties

    | Edit this page View Source

    GuardrailConfig

    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
    | Edit this page View Source

    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
    | Edit this page View Source

    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
    | Edit this page View Source

    PerformanceConfig

    Optional. Model performance settings for the request.

    Declaration
    public PerformanceConfiguration PerformanceConfig { get; set; }
    Property Value
    Type Description
    PerformanceConfiguration
    | Edit this page View Source

    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>

    Implements

    ITextRequestOptions
    IProviderRequestOptions

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation