Class XWebSearch
Inherited Members
Namespace: Glitch9.AIDevKit.XAI
Assembly: Glitch9.AIDevKit.dll
Syntax
public class XWebSearch : Tool
Properties
| Edit this page View SourceAllowedDomains
Optional. List of website domains to allow in the search results. This parameter act as a whitelist where only those websites can be selected. A maximum of 5 websites can be selected. Note: This parameter cannot be set with excluded_domains.
Declaration
[JsonProperty("allowed_domains")]
public List<string> AllowedDomains { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
EnableImageUnderstanding
Optional. Enable image understanding during web search.
Declaration
[JsonProperty("enable_image_understanding")]
public bool? EnableImageUnderstanding { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ExcludedDomains
Optional. List of website domains to exclude from the search results without protocol specification or subdomains. A maximum of 5 websites can be excluded. Note: This parameter cannot be set with allowed_domains
Declaration
[JsonProperty("excluded_domains")]
public List<string> ExcludedDomains { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
Type
Required. The logical type of the tool. The serialized string is resolved by API settings (ApiPolicy.TryGetToolTypeString).
Declaration
[JsonProperty("type")]
public override ToolType Type { get; }
Property Value
| Type | Description |
|---|---|
| ToolType |