TemplateToolConfig
public struct TemplateToolConfig : Sendable, EncodableTool configuration for any Tool specified in the request for server prompt templates.
-
Configures how the model should use the provided retrieval options.
Declaration
Swift
public let retrievalConfig: RetrievalConfig? -
Constructs a new
TemplateToolConfig.Declaration
Swift
public init(retrievalConfig: RetrievalConfig? = nil)Parameters
retrievalConfigConfigures how the model should use the provided retrieval options.