diff --git a/vectorstores/weaviate/weaviate.go b/vectorstores/weaviate/weaviate.go index d9f585edb..6245e7629 100644 --- a/vectorstores/weaviate/weaviate.go +++ b/vectorstores/weaviate/weaviate.go @@ -72,7 +72,7 @@ func New(opts ...Option) (Store, error) { } headers := make(map[string]string) if s.apiKey != nil { - headers["Authorization"] = fmt.Sprintf("Authorization: Bearer %s", *s.apiKey) + headers["Authorization"] = fmt.Sprintf("Bearer %s", *s.apiKey) } s.client = weaviate.New(weaviate.Config{ Scheme: s.scheme,