Documentation ¶
Index ¶
- type Config
- func (cfg *Config) Completer(id string) (provider.Completer, error)
- func (cfg *Config) Embedder(id string) (provider.Embedder, error)
- func (cfg *Config) Extractor(id string) (extractor.Provider, error)
- func (cfg *Config) Index(id string) (index.Provider, error)
- func (cfg *Config) Model(id string) (*provider.Model, error)
- func (cfg *Config) Models() []provider.Model
- func (cfg *Config) RegisterChain(id string, p chain.Provider)
- func (cfg *Config) RegisterCompleter(id string, p provider.Completer)
- func (cfg *Config) RegisterEmbedder(id string, p provider.Embedder)
- func (cfg *Config) RegisterExtractor(id string, p extractor.Provider)
- func (cfg *Config) RegisterIndex(id string, p index.Provider)
- func (cfg *Config) RegisterModel(id string)
- func (cfg *Config) RegisterRenderer(id string, p provider.Renderer)
- func (cfg *Config) RegisterReranker(id string, p provider.Reranker)
- func (cfg *Config) RegisterSegmenter(id string, p segmenter.Provider)
- func (cfg *Config) RegisterSummarizer(id string, p summarizer.Provider)
- func (cfg *Config) RegisterSynthesizer(id string, p provider.Synthesizer)
- func (c *Config) RegisterTool(id string, p tool.Tool)
- func (cfg *Config) RegisterTranscriber(id string, p provider.Transcriber)
- func (cfg *Config) RegisterTranslator(id string, p translator.Provider)
- func (cfg *Config) Renderer(id string) (provider.Renderer, error)
- func (cfg *Config) Reranker(id string) (provider.Reranker, error)
- func (cfg *Config) Segmenter(id string) (segmenter.Provider, error)
- func (cfg *Config) Summarizer(id string) (summarizer.Provider, error)
- func (cfg *Config) Synthesizer(id string) (provider.Synthesizer, error)
- func (cfg *Config) Tool(id string) (tool.Tool, error)
- func (cfg *Config) Transcriber(id string) (provider.Transcriber, error)
- func (cfg *Config) Translator(id string) (translator.Provider, error)
- type ModelType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Address string Authorizers []authorizer.Provider // contains filtered or unexported fields }
func (*Config) RegisterCompleter ¶
func (*Config) RegisterEmbedder ¶
func (*Config) RegisterExtractor ¶
func (*Config) RegisterModel ¶
func (*Config) RegisterRenderer ¶
func (*Config) RegisterReranker ¶
func (*Config) RegisterSegmenter ¶
func (*Config) RegisterSummarizer ¶
func (cfg *Config) RegisterSummarizer(id string, p summarizer.Provider)
func (*Config) RegisterSynthesizer ¶
func (cfg *Config) RegisterSynthesizer(id string, p provider.Synthesizer)
func (*Config) RegisterTranscriber ¶
func (cfg *Config) RegisterTranscriber(id string, p provider.Transcriber)
func (*Config) RegisterTranslator ¶
func (cfg *Config) RegisterTranslator(id string, p translator.Provider)
func (*Config) Summarizer ¶
func (cfg *Config) Summarizer(id string) (summarizer.Provider, error)
func (*Config) Synthesizer ¶
func (cfg *Config) Synthesizer(id string) (provider.Synthesizer, error)
func (*Config) Transcriber ¶
func (cfg *Config) Transcriber(id string) (provider.Transcriber, error)
func (*Config) Translator ¶
func (cfg *Config) Translator(id string) (translator.Provider, error)
Source Files ¶
- config.go
- config_authorizer.go
- config_chain.go
- config_completer.go
- config_embedder.go
- config_extractor.go
- config_index.go
- config_message.go
- config_model.go
- config_provider.go
- config_renderer.go
- config_reranker.go
- config_router.go
- config_segmenter.go
- config_summarizer.go
- config_synthesizer.go
- config_template.go
- config_tool.go
- config_transcriber.go
- config_translator.go
Click to show internal directories.
Click to hide internal directories.