Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRetriever ¶
func NewRetriever( vectorStore core.VectorStore, embedder embedding.Provider, evaluator core.RAGEvaluator, llm chat.Client, opts ...Option, ) core.Retriever
NewRetriever creates a new Self-RAG retriever with self-reflection capabilities.
Types ¶
type Option ¶
type Option func(*Options)
func WithDocStore ¶
func WithLogger ¶
func WithMaxRetries ¶
func WithThreshold ¶
func WithTracer ¶
func WithTracer(t observability.Tracer) Option
Click to show internal directories.
Click to hide internal directories.