Documentation
¶
Index ¶
Constants ¶
View Source
const (
AlphaVantageMCPBaseURL = "https://mcp.alphavantage.co/mcp"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AlphaVantageOptions ¶
type AlphaVantageOptions struct {
APIKey string `json:"apiKey"`
}
AlphaVantageOptions AlphaVantage 选项
func (*AlphaVantageOptions) RegisterTools ¶
func (opts *AlphaVantageOptions) RegisterTools(ctx context.Context, g *genkit.Genkit) ( comprehensiveAnalysisTools []ai.ToolRef, macroeconomicAnalysisTools []ai.ToolRef, fundamentalAnalysisTools []ai.ToolRef, technicalAnalysisTools []ai.ToolRef, allTools []ai.ToolRef, err error, )
RegisterTools 注册工具
type DataProvider ¶
type DataProvider struct {
AlphaVantage *AlphaVantageOptions `json:"alphaVantage,omitempty"`
}
DataProvider 数据供应商配置
Click to show internal directories.
Click to hide internal directories.