rag

package
v0.0.0-...-337008c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRedisRepo

func NewRedisRepo(opts ...Option) (rag.Repository, error)

func NewWeaviateRepo

func NewWeaviateRepo(opts ...Option) (rag.Repository, error)

Types

type Config

type Config struct {
	Embedder  embeddings.Embedder
	Scheme    string
	Host      string
	IndexName string
}

type Option

type Option func(*Config)

func WithEmbedder

func WithEmbedder(embedder embeddings.Embedder) Option

func WithHost

func WithHost(host string) Option

func WithIndexName

func WithIndexName(indexName string) Option

func WithScheme

func WithScheme(scheme string) Option

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL