Documentation
¶
Index ¶
- Constants
- type CodeExecutionTool
- func (t *CodeExecutionTool) Description() string
- func (t *CodeExecutionTool) Execute(context.Context, string) (string, error)
- func (t *CodeExecutionTool) ID() string
- func (t *CodeExecutionTool) IsProviderTool() bool
- func (t *CodeExecutionTool) Name() string
- func (t *CodeExecutionTool) Parameters() map[string]any
- type FileSearchTool
- type GoogleLLMdeprecated
- type GoogleLLMOptiondeprecated
- type GoogleMapsTool
- type GoogleRealtimeOptiondeprecated
- type GoogleSTTdeprecated
- type GoogleSTTKeyword
- type GoogleSTTOptiondeprecated
- type GoogleSearchTool
- func (t *GoogleSearchTool) Description() string
- func (t *GoogleSearchTool) Execute(context.Context, string) (string, error)
- func (t *GoogleSearchTool) ID() string
- func (t *GoogleSearchTool) IsProviderTool() bool
- func (t *GoogleSearchTool) Name() string
- func (t *GoogleSearchTool) Parameters() map[string]any
- type GoogleTTSdeprecated
- type GoogleTTSOptiondeprecated
- type LLM
- type LLMOption
- type RealtimeModel
- func (m *RealtimeModel) Capabilities() llm.RealtimeCapabilities
- func (m *RealtimeModel) Close() error
- func (m *RealtimeModel) Model() string
- func (m *RealtimeModel) Provider() string
- func (m *RealtimeModel) Session() (llm.RealtimeSession, error)
- func (m *RealtimeModel) UpdateOptions(opts ...RealtimeOption)
- type RealtimeOption
- func WithGoogleRealtimeAPIVersion(apiVersion string) RealtimeOption
- func WithGoogleRealtimeAffectiveDialog(enabled bool) RealtimeOption
- func WithGoogleRealtimeCandidateCount(count int) RealtimeOption
- func WithGoogleRealtimeConnectOptions(connectOptions llm.APIConnectOptions) RealtimeOption
- func WithGoogleRealtimeConnector(connector googleRealtimeConnector) RealtimeOption
- func WithGoogleRealtimeContextWindowCompression(config *genai.ContextWindowCompressionConfig) RealtimeOption
- func WithGoogleRealtimeFrequencyPenalty(penalty float64) RealtimeOption
- func WithGoogleRealtimeHTTPOptions(httpOptions *genai.HTTPOptions) RealtimeOption
- func WithGoogleRealtimeImageEncodeOptions(encodeOptions images.EncodeOptions) RealtimeOption
- func WithGoogleRealtimeInputAudioTranscription(enabled bool) RealtimeOption
- func WithGoogleRealtimeInputConfig(config *genai.RealtimeInputConfig) RealtimeOption
- func WithGoogleRealtimeInstructions(instructions string) RealtimeOption
- func WithGoogleRealtimeLanguage(language string) RealtimeOption
- func WithGoogleRealtimeLocation(location string) RealtimeOption
- func WithGoogleRealtimeMaxOutputTokens(tokens int) RealtimeOption
- func WithGoogleRealtimeMediaResolution(resolution genai.MediaResolution) RealtimeOption
- func WithGoogleRealtimeModalities(modalities []string) RealtimeOption
- func WithGoogleRealtimeModel(model string) RealtimeOption
- func WithGoogleRealtimeOutputAudioTranscription(enabled bool) RealtimeOption
- func WithGoogleRealtimePresencePenalty(penalty float64) RealtimeOption
- func WithGoogleRealtimeProactivity(enabled bool) RealtimeOption
- func WithGoogleRealtimeProject(project string) RealtimeOption
- func WithGoogleRealtimeSessionResumptionHandle(handle string) RealtimeOption
- func WithGoogleRealtimeTemperature(temperature float64) RealtimeOption
- func WithGoogleRealtimeThinkingConfig(config *genai.ThinkingConfig) RealtimeOption
- func WithGoogleRealtimeToolBehavior(behavior any) RealtimeOption
- func WithGoogleRealtimeToolResponseScheduling(scheduling any) RealtimeOption
- func WithGoogleRealtimeTopK(topK int) RealtimeOption
- func WithGoogleRealtimeTopP(topP float64) RealtimeOption
- func WithGoogleRealtimeTurnDetection(enabled bool) RealtimeOption
- func WithGoogleRealtimeVertexAI(enabled bool) RealtimeOption
- func WithGoogleRealtimeVoice(voice string) RealtimeOption
- type STT
- func (s *STT) Capabilities() stt.STTCapabilities
- func (s *STT) Close() error
- func (s *STT) InputSampleRate() uint32
- func (s *STT) Label() string
- func (s *STT) Recognize(ctx context.Context, frames []*model.AudioFrame, language string) (*stt.SpeechEvent, error)
- func (s *STT) Stream(ctx context.Context, language string) (stt.RecognizeStream, error)
- func (s *STT) UpdateOptions(opts ...STTOption) error
- type STTOption
- func WithGoogleSTTAdaptation(adaptation *speechpb.SpeechAdaptation) STTOption
- func WithGoogleSTTAdaptationV2(adaptation *speechv2pb.SpeechAdaptation) STTOption
- func WithGoogleSTTAlternativeLanguages(languages ...string) STTOption
- func WithGoogleSTTDenoiserConfig(config *speechv2pb.DenoiserConfig) STTOption
- func WithGoogleSTTDetectLanguage(enabled bool) STTOption
- func WithGoogleSTTEndpointingSensitivity(sensitivity string) STTOption
- func WithGoogleSTTInterimResults(enabled bool) STTOption
- func WithGoogleSTTKeywords(keywords ...GoogleSTTKeyword) STTOption
- func WithGoogleSTTLanguage(language string) STTOption
- func WithGoogleSTTLocation(location string) STTOption
- func WithGoogleSTTMinConfidenceThreshold(threshold float64) STTOption
- func WithGoogleSTTModel(model string) STTOption
- func WithGoogleSTTProfanityFilter(profanityFilter bool) STTOption
- func WithGoogleSTTProject(project string) STTOption
- func WithGoogleSTTPunctuate(punctuate bool) STTOption
- func WithGoogleSTTSampleRate(sampleRate int32) STTOption
- func WithGoogleSTTSpeechEndTimeout(timeout time.Duration) STTOption
- func WithGoogleSTTSpeechStartTimeout(timeout time.Duration) STTOption
- func WithGoogleSTTSpokenPunctuation(spokenPunctuation bool) STTOption
- func WithGoogleSTTStreaming(enabled bool) STTOption
- func WithGoogleSTTVoiceActivityEvents(enabled bool) STTOption
- func WithGoogleSTTWordConfidence(enabled bool) STTOption
- func WithGoogleSTTWordTimeOffsets(enabled bool) STTOption
- type TTS
- func (t *TTS) Capabilities() tts.TTSCapabilities
- func (t *TTS) Close() error
- func (t *TTS) Label() string
- func (t *TTS) Model() string
- func (t *TTS) NumChannels() int
- func (t *TTS) Provider() string
- func (t *TTS) SampleRate() int
- func (t *TTS) Stream(ctx context.Context) (tts.SynthesizeStream, error)
- func (t *TTS) Synthesize(ctx context.Context, text string) (tts.ChunkedStream, error)
- func (t *TTS) UpdateOptions(opts ...TTSOption)
- type TTSOption
- func WithGoogleTTSAudioEncoding(encoding texttospeechpb.AudioEncoding) TTSOption
- func WithGoogleTTSCustomPronunciations(custom *texttospeechpb.CustomPronunciations) TTSOption
- func WithGoogleTTSEffectsProfileID(profileID string) TTSOption
- func WithGoogleTTSGender(gender string) TTSOption
- func WithGoogleTTSLanguage(language string) TTSOption
- func WithGoogleTTSLocation(location string) TTSOption
- func WithGoogleTTSMarkup(enabled bool) TTSOption
- func WithGoogleTTSModel(model string) TTSOption
- func WithGoogleTTSPitch(pitch float64) TTSOption
- func WithGoogleTTSPrompt(prompt string) TTSOption
- func WithGoogleTTSSSML(enabled bool) TTSOption
- func WithGoogleTTSSampleRate(sampleRate int32) TTSOption
- func WithGoogleTTSSpeakingRate(rate float64) TTSOption
- func WithGoogleTTSStreaming(enabled bool) TTSOption
- func WithGoogleTTSVoice(voice string) TTSOption
- func WithGoogleTTSVoiceCloneKey(key string) TTSOption
- func WithGoogleTTSVolumeGainDB(volumeGainDB float64) TTSOption
- type URLContextTool
- type VertexRAGRetrievalTool
- func (t *VertexRAGRetrievalTool) Description() string
- func (t *VertexRAGRetrievalTool) Execute(context.Context, string) (string, error)
- func (t *VertexRAGRetrievalTool) ID() string
- func (t *VertexRAGRetrievalTool) IsProviderTool() bool
- func (t *VertexRAGRetrievalTool) Name() string
- func (t *VertexRAGRetrievalTool) Parameters() map[string]any
Constants ¶
View Source
const ( PluginTitle = "rtp-agent.plugins.google" PluginVersion = "v0.4.2" PluginPackage = "rtp-agent.plugins.google" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeExecutionTool ¶ added in v0.1.5
type CodeExecutionTool struct{}
func (*CodeExecutionTool) Description ¶ added in v0.1.5
func (t *CodeExecutionTool) Description() string
func (*CodeExecutionTool) ID ¶ added in v0.1.5
func (t *CodeExecutionTool) ID() string
func (*CodeExecutionTool) IsProviderTool ¶ added in v0.1.5
func (t *CodeExecutionTool) IsProviderTool() bool
func (*CodeExecutionTool) Name ¶ added in v0.1.5
func (t *CodeExecutionTool) Name() string
func (*CodeExecutionTool) Parameters ¶ added in v0.1.5
func (t *CodeExecutionTool) Parameters() map[string]any
type FileSearchTool ¶ added in v0.1.5
func (*FileSearchTool) Description ¶ added in v0.1.5
func (t *FileSearchTool) Description() string
func (*FileSearchTool) ID ¶ added in v0.1.5
func (t *FileSearchTool) ID() string
func (*FileSearchTool) IsProviderTool ¶ added in v0.1.5
func (t *FileSearchTool) IsProviderTool() bool
func (*FileSearchTool) Name ¶ added in v0.1.5
func (t *FileSearchTool) Name() string
func (*FileSearchTool) Parameters ¶ added in v0.1.5
func (t *FileSearchTool) Parameters() map[string]any
type GoogleLLMOption
deprecated
added in
v0.1.5
type GoogleLLMOption = LLMOption
Deprecated: use LLMOption.
type GoogleMapsTool ¶ added in v0.1.5
type GoogleMapsTool struct {
AuthConfig *genai.AuthConfig
EnableWidget *bool
}
func (*GoogleMapsTool) Description ¶ added in v0.1.5
func (t *GoogleMapsTool) Description() string
func (*GoogleMapsTool) ID ¶ added in v0.1.5
func (t *GoogleMapsTool) ID() string
func (*GoogleMapsTool) IsProviderTool ¶ added in v0.1.5
func (t *GoogleMapsTool) IsProviderTool() bool
func (*GoogleMapsTool) Name ¶ added in v0.1.5
func (t *GoogleMapsTool) Name() string
func (*GoogleMapsTool) Parameters ¶ added in v0.1.5
func (t *GoogleMapsTool) Parameters() map[string]any
type GoogleRealtimeOption
deprecated
added in
v0.1.5
type GoogleRealtimeOption = RealtimeOption
Deprecated: use RealtimeOption.
type GoogleSTTKeyword ¶ added in v0.1.5
type GoogleSTTOption
deprecated
added in
v0.0.15
type GoogleSTTOption = STTOption
Deprecated: use STTOption.
type GoogleSearchTool ¶ added in v0.1.5
type GoogleSearchTool struct {
ExcludeDomains []string
BlockingConfidence genai.PhishBlockThreshold
TimeRangeFilter *genai.Interval
}
func (*GoogleSearchTool) Description ¶ added in v0.1.5
func (t *GoogleSearchTool) Description() string
func (*GoogleSearchTool) ID ¶ added in v0.1.5
func (t *GoogleSearchTool) ID() string
func (*GoogleSearchTool) IsProviderTool ¶ added in v0.1.5
func (t *GoogleSearchTool) IsProviderTool() bool
func (*GoogleSearchTool) Name ¶ added in v0.1.5
func (t *GoogleSearchTool) Name() string
func (*GoogleSearchTool) Parameters ¶ added in v0.1.5
func (t *GoogleSearchTool) Parameters() map[string]any
type GoogleTTSOption
deprecated
added in
v0.0.15
type GoogleTTSOption = TTSOption
Deprecated: use TTSOption.
type LLM ¶ added in v0.4.2
type LLM struct {
// contains filtered or unexported fields
}
type LLMOption ¶ added in v0.4.2
type LLMOption func(*googleLLMOptions)
func WithGoogleLLMLocation ¶ added in v0.1.5
func WithGoogleLLMProject ¶ added in v0.1.5
func WithGoogleLLMVertexAI ¶ added in v0.1.5
type RealtimeModel ¶ added in v0.1.5
type RealtimeModel struct {
// contains filtered or unexported fields
}
func NewRealtimeModel ¶ added in v0.1.5
func NewRealtimeModel(apiKey string, opts ...RealtimeOption) (*RealtimeModel, error)
func (*RealtimeModel) Capabilities ¶ added in v0.1.5
func (m *RealtimeModel) Capabilities() llm.RealtimeCapabilities
func (*RealtimeModel) Close ¶ added in v0.1.5
func (m *RealtimeModel) Close() error
func (*RealtimeModel) Model ¶ added in v0.1.5
func (m *RealtimeModel) Model() string
func (*RealtimeModel) Provider ¶ added in v0.1.5
func (m *RealtimeModel) Provider() string
func (*RealtimeModel) Session ¶ added in v0.1.5
func (m *RealtimeModel) Session() (llm.RealtimeSession, error)
func (*RealtimeModel) UpdateOptions ¶ added in v0.1.5
func (m *RealtimeModel) UpdateOptions(opts ...RealtimeOption)
type RealtimeOption ¶ added in v0.4.2
type RealtimeOption func(*googleRealtimeOptions)
func WithGoogleRealtimeAPIVersion ¶ added in v0.1.5
func WithGoogleRealtimeAPIVersion(apiVersion string) RealtimeOption
func WithGoogleRealtimeAffectiveDialog ¶ added in v0.1.5
func WithGoogleRealtimeAffectiveDialog(enabled bool) RealtimeOption
func WithGoogleRealtimeCandidateCount ¶ added in v0.1.5
func WithGoogleRealtimeCandidateCount(count int) RealtimeOption
func WithGoogleRealtimeConnectOptions ¶ added in v0.1.5
func WithGoogleRealtimeConnectOptions(connectOptions llm.APIConnectOptions) RealtimeOption
func WithGoogleRealtimeConnector ¶ added in v0.1.5
func WithGoogleRealtimeConnector(connector googleRealtimeConnector) RealtimeOption
func WithGoogleRealtimeContextWindowCompression ¶ added in v0.1.5
func WithGoogleRealtimeContextWindowCompression(config *genai.ContextWindowCompressionConfig) RealtimeOption
func WithGoogleRealtimeFrequencyPenalty ¶ added in v0.1.5
func WithGoogleRealtimeFrequencyPenalty(penalty float64) RealtimeOption
func WithGoogleRealtimeHTTPOptions ¶ added in v0.1.5
func WithGoogleRealtimeHTTPOptions(httpOptions *genai.HTTPOptions) RealtimeOption
func WithGoogleRealtimeImageEncodeOptions ¶ added in v0.1.5
func WithGoogleRealtimeImageEncodeOptions(encodeOptions images.EncodeOptions) RealtimeOption
func WithGoogleRealtimeInputAudioTranscription ¶ added in v0.1.5
func WithGoogleRealtimeInputAudioTranscription(enabled bool) RealtimeOption
func WithGoogleRealtimeInputConfig ¶ added in v0.1.5
func WithGoogleRealtimeInputConfig(config *genai.RealtimeInputConfig) RealtimeOption
func WithGoogleRealtimeInstructions ¶ added in v0.1.5
func WithGoogleRealtimeInstructions(instructions string) RealtimeOption
func WithGoogleRealtimeLanguage ¶ added in v0.1.5
func WithGoogleRealtimeLanguage(language string) RealtimeOption
func WithGoogleRealtimeLocation ¶ added in v0.1.5
func WithGoogleRealtimeLocation(location string) RealtimeOption
func WithGoogleRealtimeMaxOutputTokens ¶ added in v0.1.5
func WithGoogleRealtimeMaxOutputTokens(tokens int) RealtimeOption
func WithGoogleRealtimeMediaResolution ¶ added in v0.1.5
func WithGoogleRealtimeMediaResolution(resolution genai.MediaResolution) RealtimeOption
func WithGoogleRealtimeModalities ¶ added in v0.1.5
func WithGoogleRealtimeModalities(modalities []string) RealtimeOption
func WithGoogleRealtimeModel ¶ added in v0.1.5
func WithGoogleRealtimeModel(model string) RealtimeOption
func WithGoogleRealtimeOutputAudioTranscription ¶ added in v0.1.5
func WithGoogleRealtimeOutputAudioTranscription(enabled bool) RealtimeOption
func WithGoogleRealtimePresencePenalty ¶ added in v0.1.5
func WithGoogleRealtimePresencePenalty(penalty float64) RealtimeOption
func WithGoogleRealtimeProactivity ¶ added in v0.1.5
func WithGoogleRealtimeProactivity(enabled bool) RealtimeOption
func WithGoogleRealtimeProject ¶ added in v0.1.5
func WithGoogleRealtimeProject(project string) RealtimeOption
func WithGoogleRealtimeSessionResumptionHandle ¶ added in v0.1.5
func WithGoogleRealtimeSessionResumptionHandle(handle string) RealtimeOption
func WithGoogleRealtimeTemperature ¶ added in v0.1.5
func WithGoogleRealtimeTemperature(temperature float64) RealtimeOption
func WithGoogleRealtimeThinkingConfig ¶ added in v0.1.5
func WithGoogleRealtimeThinkingConfig(config *genai.ThinkingConfig) RealtimeOption
func WithGoogleRealtimeToolBehavior ¶ added in v0.1.5
func WithGoogleRealtimeToolBehavior(behavior any) RealtimeOption
func WithGoogleRealtimeToolResponseScheduling ¶ added in v0.1.5
func WithGoogleRealtimeToolResponseScheduling(scheduling any) RealtimeOption
func WithGoogleRealtimeTopK ¶ added in v0.1.5
func WithGoogleRealtimeTopK(topK int) RealtimeOption
func WithGoogleRealtimeTopP ¶ added in v0.1.5
func WithGoogleRealtimeTopP(topP float64) RealtimeOption
func WithGoogleRealtimeTurnDetection ¶ added in v0.1.5
func WithGoogleRealtimeTurnDetection(enabled bool) RealtimeOption
func WithGoogleRealtimeVertexAI ¶ added in v0.1.5
func WithGoogleRealtimeVertexAI(enabled bool) RealtimeOption
func WithGoogleRealtimeVoice ¶ added in v0.1.5
func WithGoogleRealtimeVoice(voice string) RealtimeOption
type STT ¶ added in v0.4.2
type STT struct {
// contains filtered or unexported fields
}
func NewGoogleSTT
deprecated
func NewSTT ¶ added in v0.4.2
NewGoogleSTT creates a new STT client using Application Default Credentials, or by providing a path to a credentials JSON file.
func (*STT) Capabilities ¶ added in v0.4.2
func (s *STT) Capabilities() stt.STTCapabilities
func (*STT) InputSampleRate ¶ added in v0.4.2
func (*STT) Recognize ¶ added in v0.4.2
func (s *STT) Recognize(ctx context.Context, frames []*model.AudioFrame, language string) (*stt.SpeechEvent, error)
func (*STT) UpdateOptions ¶ added in v0.4.2
type STTOption ¶ added in v0.0.7
type STTOption func(*STT)
func WithGoogleSTTAdaptation ¶ added in v0.1.5
func WithGoogleSTTAdaptation(adaptation *speechpb.SpeechAdaptation) STTOption
func WithGoogleSTTAdaptationV2 ¶ added in v0.1.5
func WithGoogleSTTAdaptationV2(adaptation *speechv2pb.SpeechAdaptation) STTOption
func WithGoogleSTTAlternativeLanguages ¶ added in v0.1.5
func WithGoogleSTTDenoiserConfig ¶ added in v0.1.5
func WithGoogleSTTDenoiserConfig(config *speechv2pb.DenoiserConfig) STTOption
func WithGoogleSTTDetectLanguage ¶ added in v0.1.5
func WithGoogleSTTEndpointingSensitivity ¶ added in v0.1.5
func WithGoogleSTTInterimResults ¶ added in v0.1.5
func WithGoogleSTTKeywords ¶ added in v0.1.5
func WithGoogleSTTKeywords(keywords ...GoogleSTTKeyword) STTOption
func WithGoogleSTTLanguage ¶ added in v0.1.5
func WithGoogleSTTLocation ¶ added in v0.1.5
func WithGoogleSTTMinConfidenceThreshold ¶ added in v0.1.0
func WithGoogleSTTModel ¶ added in v0.0.15
func WithGoogleSTTProfanityFilter ¶ added in v0.0.15
func WithGoogleSTTProject ¶ added in v0.1.5
func WithGoogleSTTPunctuate ¶ added in v0.0.15
func WithGoogleSTTSampleRate ¶ added in v0.0.15
func WithGoogleSTTSpeechEndTimeout ¶ added in v0.1.5
func WithGoogleSTTSpeechStartTimeout ¶ added in v0.1.5
func WithGoogleSTTSpokenPunctuation ¶ added in v0.0.15
func WithGoogleSTTStreaming ¶ added in v0.1.5
func WithGoogleSTTVoiceActivityEvents ¶ added in v0.1.0
func WithGoogleSTTWordConfidence ¶ added in v0.1.0
func WithGoogleSTTWordTimeOffsets ¶ added in v0.1.5
type TTS ¶ added in v0.4.2
type TTS struct {
// contains filtered or unexported fields
}
func NewGoogleTTS
deprecated
func NewTTS ¶ added in v0.4.2
NewGoogleTTS creates a new TTS client using Application Default Credentials, or by providing a path to a credentials JSON file.
func (*TTS) Capabilities ¶ added in v0.4.2
func (t *TTS) Capabilities() tts.TTSCapabilities
func (*TTS) NumChannels ¶ added in v0.4.2
func (*TTS) SampleRate ¶ added in v0.4.2
func (*TTS) Synthesize ¶ added in v0.4.2
func (*TTS) UpdateOptions ¶ added in v0.4.2
type TTSOption ¶ added in v0.4.2
type TTSOption func(*googleTTSConfig)
func WithGoogleTTSAudioEncoding ¶ added in v0.1.5
func WithGoogleTTSAudioEncoding(encoding texttospeechpb.AudioEncoding) TTSOption
func WithGoogleTTSCustomPronunciations ¶ added in v0.1.5
func WithGoogleTTSCustomPronunciations(custom *texttospeechpb.CustomPronunciations) TTSOption
func WithGoogleTTSEffectsProfileID ¶ added in v0.1.0
func WithGoogleTTSGender ¶ added in v0.1.5
func WithGoogleTTSLanguage ¶ added in v0.0.15
func WithGoogleTTSLocation ¶ added in v0.1.5
func WithGoogleTTSMarkup ¶ added in v0.1.5
func WithGoogleTTSModel ¶ added in v0.0.15
func WithGoogleTTSPitch ¶ added in v0.1.0
func WithGoogleTTSPrompt ¶ added in v0.1.0
func WithGoogleTTSSSML ¶ added in v0.1.5
func WithGoogleTTSSampleRate ¶ added in v0.1.5
func WithGoogleTTSSpeakingRate ¶ added in v0.1.0
func WithGoogleTTSStreaming ¶ added in v0.1.5
func WithGoogleTTSVoice ¶ added in v0.0.15
func WithGoogleTTSVoiceCloneKey ¶ added in v0.1.5
func WithGoogleTTSVolumeGainDB ¶ added in v0.1.0
type URLContextTool ¶ added in v0.1.5
type URLContextTool struct{}
func (*URLContextTool) Description ¶ added in v0.1.5
func (t *URLContextTool) Description() string
func (*URLContextTool) ID ¶ added in v0.1.5
func (t *URLContextTool) ID() string
func (*URLContextTool) IsProviderTool ¶ added in v0.1.5
func (t *URLContextTool) IsProviderTool() bool
func (*URLContextTool) Name ¶ added in v0.1.5
func (t *URLContextTool) Name() string
func (*URLContextTool) Parameters ¶ added in v0.1.5
func (t *URLContextTool) Parameters() map[string]any
type VertexRAGRetrievalTool ¶ added in v0.1.5
type VertexRAGRetrievalTool struct {
RAGResources []string
SimilarityTopK int32
VectorDistanceThreshold *float64
}
func (*VertexRAGRetrievalTool) Description ¶ added in v0.1.5
func (t *VertexRAGRetrievalTool) Description() string
func (*VertexRAGRetrievalTool) ID ¶ added in v0.1.5
func (t *VertexRAGRetrievalTool) ID() string
func (*VertexRAGRetrievalTool) IsProviderTool ¶ added in v0.1.5
func (t *VertexRAGRetrievalTool) IsProviderTool() bool
func (*VertexRAGRetrievalTool) Name ¶ added in v0.1.5
func (t *VertexRAGRetrievalTool) Name() string
func (*VertexRAGRetrievalTool) Parameters ¶ added in v0.1.5
func (t *VertexRAGRetrievalTool) Parameters() map[string]any
Click to show internal directories.
Click to hide internal directories.