Class SqlToolConfig
The configuration for SQL Tool.
Inheritance
SqlToolConfig
Assembly: OCI.DotNetSDK.Generativeaiagent.dll
public class SqlToolConfig : ToolConfig
Properties
Declaration
[JsonProperty(PropertyName = "databaseConnection")]
public DatabaseConnection DatabaseConnection { get; set; }
Property Value
Declaration
[Required(ErrorMessage = "DatabaseSchema is required.")]
[JsonProperty(PropertyName = "databaseSchema")]
public InputLocation DatabaseSchema { get; set; }
Property Value
Declaration
[Required(ErrorMessage = "Dialect is required.")]
[JsonProperty(PropertyName = "dialect")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SqlToolConfig.DialectEnum? Dialect { get; set; }
Property Value
Declaration
[JsonProperty(PropertyName = "generationLlmCustomization")]
public LlmCustomization GenerationLlmCustomization { get; set; }
Property Value
Declaration
[JsonProperty(PropertyName = "iclExamples")]
public InputLocation IclExamples { get; set; }
Property Value
Declaration
[JsonProperty(PropertyName = "modelSize")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SqlToolConfig.ModelSizeEnum? ModelSize { get; set; }
Property Value
Declaration
[JsonProperty(PropertyName = "shouldEnableSelfCorrection")]
public bool? ShouldEnableSelfCorrection { get; set; }
Property Value
Type |
Description |
bool? |
To enable/disable self correction.
|
Declaration
[JsonProperty(PropertyName = "shouldEnableSqlExecution")]
public bool? ShouldEnableSqlExecution { get; set; }
Property Value
Type |
Description |
bool? |
To enable/disable SQL execution.
|
Declaration
[JsonProperty(PropertyName = "tableAndColumnDescription")]
public InputLocation TableAndColumnDescription { get; set; }
Property Value