Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LangchainLLM ¶
type LangchainLLM struct {
// contains filtered or unexported fields
}
func NewLangchainLLM ¶
func NewLangchainLLM(apiKey string, model string) *LangchainLLM
func (*LangchainLLM) Chat ¶
func (l *LangchainLLM) Chat(ctx context.Context, chatCtx *llm.ChatContext, opts ...llm.ChatOption) (llm.LLMStream, error)
Click to show internal directories.
Click to hide internal directories.