Documentation
¶
Index ¶
- Constants
- type ApiKeyUser
- type Compose
- func (d *Compose) Start(ctx context.Context) (*DockerCompose, error)
- func (d *Compose) With1NodeCluster() *Compose
- func (d *Compose) With3NodeCluster() *Compose
- func (d *Compose) WithApiKey() *Compose
- func (d *Compose) WithAutoschema() *Compose
- func (d *Compose) WithAzurite() *Compose
- func (d *Compose) WithBackendAzure(container string) *Compose
- func (d *Compose) WithBackendFilesystem() *Compose
- func (d *Compose) WithBackendGCS(bucket string) *Compose
- func (d *Compose) WithBackendS3(bucket, region string) *Compose
- func (d *Compose) WithGCS() *Compose
- func (d *Compose) WithGenerativeAWS(accessKey, secretKey, sessionToken string) *Compose
- func (d *Compose) WithGenerativeAnthropic(apiKey string) *Compose
- func (d *Compose) WithGenerativeAnyscale() *Compose
- func (d *Compose) WithGenerativeCohere(apiKey string) *Compose
- func (d *Compose) WithGenerativeFriendliAI(apiKey string) *Compose
- func (d *Compose) WithGenerativeGoogle(apiKey string) *Compose
- func (d *Compose) WithGenerativeOllama() *Compose
- func (d *Compose) WithGenerativeOpenAI(openAIApiKey, openAIOrganization, azureApiKey string) *Compose
- func (d *Compose) WithImg2VecNeural() *Compose
- func (d *Compose) WithMockOIDC() *Compose
- func (d *Compose) WithMulti2VecBind() *Compose
- func (d *Compose) WithMulti2VecCLIP() *Compose
- func (d *Compose) WithMulti2VecCohere(apiKey string) *Compose
- func (d *Compose) WithMulti2VecGoogle(apiKey string) *Compose
- func (d *Compose) WithMulti2VecJinaAI(apiKey string) *Compose
- func (d *Compose) WithMulti2VecVoyageAI(apiKey string) *Compose
- func (d *Compose) WithOffloadS3(bucket, region string) *Compose
- func (d *Compose) WithOllamaGenerative() *Compose
- func (d *Compose) WithOllamaVectorizer() *Compose
- func (d *Compose) WithQnAOpenAI() *Compose
- func (d *Compose) WithQnATransformers() *Compose
- func (d *Compose) WithRBAC() *Compose
- func (d *Compose) WithRbacAdmins(usernames ...string) *Compose
- func (d *Compose) WithRbacViewers(usernames ...string) *Compose
- func (d *Compose) WithRef2VecCentroid() *Compose
- func (d *Compose) WithRerankerCohere() *Compose
- func (d *Compose) WithRerankerTransformers() *Compose
- func (d *Compose) WithRerankerVoyageAI() *Compose
- func (d *Compose) WithSUMTransformers() *Compose
- func (d *Compose) WithText2ColBERTJinaAI(apiKey string) *Compose
- func (d *Compose) WithText2VecAWS(accessKey, secretKey, sessionToken string) *Compose
- func (d *Compose) WithText2VecCohere(apiKey string) *Compose
- func (d *Compose) WithText2VecContextionary() *Compose
- func (d *Compose) WithText2VecGoogle(apiKey string) *Compose
- func (d *Compose) WithText2VecHuggingFace() *Compose
- func (d *Compose) WithText2VecJinaAI(apiKey string) *Compose
- func (d *Compose) WithText2VecOllama() *Compose
- func (d *Compose) WithText2VecOpenAI(openAIApiKey, openAIOrganization, azureApiKey string) *Compose
- func (d *Compose) WithText2VecTransformers() *Compose
- func (d *Compose) WithText2VecVoyageAI(apiKey string) *Compose
- func (d *Compose) WithText2VecWeaviate() *Compose
- func (d *Compose) WithUserApiKey(username, key string) *Compose
- func (d *Compose) WithWeaviate() *Compose
- func (d *Compose) WithWeaviateAuth() *Compose
- func (d *Compose) WithWeaviateBasicAuth(username, password string) *Compose
- func (d *Compose) WithWeaviateCluster(size int) *Compose
- func (d *Compose) WithWeaviateClusterWithGRPC() *Compose
- func (d *Compose) WithWeaviateEnv(name, value string) *Compose
- func (d *Compose) WithWeaviateWithGRPC() *Compose
- func (d *Compose) WithoutWeaviateEnvs(names ...string) *Compose
- type DockerCompose
- func (d *DockerCompose) ContainerAt(index int) (*DockerContainer, error)
- func (d *DockerCompose) ContainerURI(index int) string
- func (d *DockerCompose) Containers() []*DockerContainer
- func (d *DockerCompose) GetAzurite() *DockerContainer
- func (d *DockerCompose) GetGCS() *DockerContainer
- func (d *DockerCompose) GetMinIO() *DockerContainer
- func (d *DockerCompose) GetMockOIDC() *DockerContainer
- func (d *DockerCompose) GetOllamaGenerative() *DockerContainer
- func (d *DockerCompose) GetOllamaVectorizer() *DockerContainer
- func (d *DockerCompose) GetQnATransformers() *DockerContainer
- func (d *DockerCompose) GetSecondWeaviate() *DockerContainer
- func (d *DockerCompose) GetText2VecContextionary() *DockerContainer
- func (d *DockerCompose) GetText2VecTransformers() *DockerContainer
- func (d *DockerCompose) GetWeaviate() *DockerContainer
- func (d *DockerCompose) GetWeaviateNode(n int) *DockerContainer
- func (d *DockerCompose) GetWeaviateNode2() *DockerContainer
- func (d *DockerCompose) GetWeaviateNode3() *DockerContainer
- func (d *DockerCompose) Start(ctx context.Context, container string) error
- func (d *DockerCompose) StartAt(ctx context.Context, nodeIndex int) error
- func (d *DockerCompose) Stop(ctx context.Context, container string, timeout *time.Duration) error
- func (d *DockerCompose) StopAt(ctx context.Context, nodeIndex int, timeout *time.Duration) error
- func (d *DockerCompose) Terminate(ctx context.Context) error
- func (d *DockerCompose) TerminateContainer(ctx context.Context, container string) error
- type DockerContainer
- type EndpointName
Constants ¶
View Source
const ( OllamaVectorizer = "ollamavectorizer" OllamaGenerative = "ollamagenerative" )
View Source
const ( Weaviate1 = "weaviate" Weaviate2 = "weaviate2" Weaviate3 = "weaviate3" Weaviate = "weaviate" SecondWeaviate = "second-weaviate" )
View Source
const Azurite = "azurite"
View Source
const GCS = "gcp-storage-emulator"
View Source
const Img2VecNeural = "img2vec-neural"
View Source
const MinIO = "test-minio"
View Source
const MockOIDC = "mock-oidc"
View Source
const Multi2VecBind = "multi2vec-bind"
View Source
const Multi2VecCLIP = "multi2vec-clip"
View Source
const QnATransformers = "qna-transformers"
View Source
const (
Ref2VecCentroid = "ref2vec-centroid"
)
View Source
const RerankerTransformers = "reranker-transformers"
View Source
const SUMTransformers = "sum-transformers"
View Source
const Text2VecContextionary = "text2vec-contextionary"
View Source
const Text2VecTransformers = "text2vec-transformers"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compose ¶
type Compose struct {
// contains filtered or unexported fields
}
func (*Compose) With1NodeCluster ¶
func (*Compose) With3NodeCluster ¶
func (*Compose) WithApiKey ¶
func (*Compose) WithAutoschema ¶
func (*Compose) WithAzurite ¶
func (*Compose) WithBackendAzure ¶
func (*Compose) WithBackendFilesystem ¶
func (*Compose) WithBackendGCS ¶
func (*Compose) WithBackendS3 ¶
WithBackendS3 will prepare MinIO
func (*Compose) WithGenerativeAWS ¶
func (*Compose) WithGenerativeAnthropic ¶
func (*Compose) WithGenerativeAnyscale ¶
func (*Compose) WithGenerativeCohere ¶
func (*Compose) WithGenerativeFriendliAI ¶
func (*Compose) WithGenerativeGoogle ¶
func (*Compose) WithGenerativeOllama ¶
func (*Compose) WithGenerativeOpenAI ¶
func (*Compose) WithImg2VecNeural ¶
func (*Compose) WithMockOIDC ¶
func (*Compose) WithMulti2VecBind ¶
func (*Compose) WithMulti2VecCLIP ¶
func (*Compose) WithMulti2VecCohere ¶
func (*Compose) WithMulti2VecGoogle ¶
func (*Compose) WithMulti2VecJinaAI ¶
func (*Compose) WithMulti2VecVoyageAI ¶
func (*Compose) WithOffloadS3 ¶
WithOffloadS3 will prepare MinIO
func (*Compose) WithOllamaGenerative ¶
func (*Compose) WithOllamaVectorizer ¶
func (*Compose) WithQnAOpenAI ¶
func (*Compose) WithQnATransformers ¶
func (*Compose) WithRbacAdmins ¶
func (*Compose) WithRbacViewers ¶
func (*Compose) WithRef2VecCentroid ¶
func (*Compose) WithRerankerCohere ¶
func (*Compose) WithRerankerTransformers ¶
func (*Compose) WithRerankerVoyageAI ¶
func (*Compose) WithSUMTransformers ¶
func (*Compose) WithText2ColBERTJinaAI ¶
func (*Compose) WithText2VecAWS ¶
func (*Compose) WithText2VecCohere ¶
func (*Compose) WithText2VecContextionary ¶
func (*Compose) WithText2VecGoogle ¶
func (*Compose) WithText2VecHuggingFace ¶
func (*Compose) WithText2VecJinaAI ¶
func (*Compose) WithText2VecOllama ¶
func (*Compose) WithText2VecOpenAI ¶
func (*Compose) WithText2VecTransformers ¶
func (*Compose) WithText2VecVoyageAI ¶
func (*Compose) WithText2VecWeaviate ¶
func (*Compose) WithUserApiKey ¶
func (*Compose) WithWeaviate ¶
func (*Compose) WithWeaviateAuth ¶
func (*Compose) WithWeaviateBasicAuth ¶
func (*Compose) WithWeaviateCluster ¶
func (*Compose) WithWeaviateClusterWithGRPC ¶
func (*Compose) WithWeaviateEnv ¶
func (*Compose) WithWeaviateWithGRPC ¶
func (*Compose) WithoutWeaviateEnvs ¶
type DockerCompose ¶
type DockerCompose struct {
// contains filtered or unexported fields
}
func (*DockerCompose) ContainerAt ¶
func (d *DockerCompose) ContainerAt(index int) (*DockerContainer, error)
func (*DockerCompose) ContainerURI ¶
func (d *DockerCompose) ContainerURI(index int) string
func (*DockerCompose) Containers ¶
func (d *DockerCompose) Containers() []*DockerContainer
func (*DockerCompose) GetAzurite ¶
func (d *DockerCompose) GetAzurite() *DockerContainer
func (*DockerCompose) GetGCS ¶
func (d *DockerCompose) GetGCS() *DockerContainer
func (*DockerCompose) GetMinIO ¶
func (d *DockerCompose) GetMinIO() *DockerContainer
func (*DockerCompose) GetMockOIDC ¶
func (d *DockerCompose) GetMockOIDC() *DockerContainer
func (*DockerCompose) GetOllamaGenerative ¶
func (d *DockerCompose) GetOllamaGenerative() *DockerContainer
func (*DockerCompose) GetOllamaVectorizer ¶
func (d *DockerCompose) GetOllamaVectorizer() *DockerContainer
func (*DockerCompose) GetQnATransformers ¶
func (d *DockerCompose) GetQnATransformers() *DockerContainer
func (*DockerCompose) GetSecondWeaviate ¶
func (d *DockerCompose) GetSecondWeaviate() *DockerContainer
func (*DockerCompose) GetText2VecContextionary ¶
func (d *DockerCompose) GetText2VecContextionary() *DockerContainer
func (*DockerCompose) GetText2VecTransformers ¶
func (d *DockerCompose) GetText2VecTransformers() *DockerContainer
func (*DockerCompose) GetWeaviate ¶
func (d *DockerCompose) GetWeaviate() *DockerContainer
func (*DockerCompose) GetWeaviateNode ¶
func (d *DockerCompose) GetWeaviateNode(n int) *DockerContainer
func (*DockerCompose) GetWeaviateNode2 ¶
func (d *DockerCompose) GetWeaviateNode2() *DockerContainer
func (*DockerCompose) GetWeaviateNode3 ¶
func (d *DockerCompose) GetWeaviateNode3() *DockerContainer
func (*DockerCompose) Start ¶
func (d *DockerCompose) Start(ctx context.Context, container string) error
func (*DockerCompose) StartAt ¶
func (d *DockerCompose) StartAt(ctx context.Context, nodeIndex int) error
func (*DockerCompose) TerminateContainer ¶
func (d *DockerCompose) TerminateContainer(ctx context.Context, container string) error
type DockerContainer ¶
type DockerContainer struct {
// contains filtered or unexported fields
}
func (*DockerContainer) GetEndpoint ¶
func (d *DockerContainer) GetEndpoint(name EndpointName) string
func (*DockerContainer) GrpcURI ¶
func (d *DockerContainer) GrpcURI() string
func (*DockerContainer) Name ¶
func (d *DockerContainer) Name() string
func (*DockerContainer) URI ¶
func (d *DockerContainer) URI() string
type EndpointName ¶
type EndpointName string
var ( HTTP EndpointName = "http" GRPC EndpointName = "grpc" )
Source Files
¶
Click to show internal directories.
Click to hide internal directories.