Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: Weaviate Client creation use NewClient() over New() #1106

Closed
wants to merge 17 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
ee617e8
feature(OpenAI function agent): support for handling multiple tool ca…
ankit-arora May 26, 2024
3df8b47
feature(OpenAI function agent): support for handling multiple tool ca…
ankit-arora May 26, 2024
ea76d73
feature(OpenAI function agent): support for handling multiple tool ca…
ankit-arora May 26, 2024
b4fa43c
feature(OpenAI function agent): support for handling multiple tool ca…
ankit-arora May 26, 2024
dc1db6c
feature(OpenAI function agent): support for handling multiple tool ca…
ankit-arora May 26, 2024
41cf740
feature(OpenAI function agent): support for handling multiple tool ca…
ankit-arora May 26, 2024
a2cf47d
feature(OpenAI function agent): support for handling multiple tool ca…
ankit-arora May 27, 2024
7af6eb0
feature(OpenAI function agent): support for handling multiple tool ca…
ankit-arora May 27, 2024
aaea96d
feature(OpenAI function agent): fix cognitive complexity of GenerateC…
ankit-arora May 27, 2024
f3f72fd
feature(OpenAI function agent): add intermediate message only when ne…
ankit-arora May 27, 2024
273c60e
fix(OpenAI function agent): cover corner case where tool_call_id is n…
ankit-arora May 27, 2024
14b017c
fix(OpenAI function agent): cover corner case where tool_call_id is n…
ankit-arora May 27, 2024
19c731e
feat(Agents): Support chat history for OpenAI function agent
ankit-arora May 27, 2024
f2fd461
feat(Agents): Call multiple functions concurrently
ankit-arora May 27, 2024
d6af34a
bugfix/vectorstores: weaviate: use correct client creator
taigrr Jan 18, 2025
0b0343f
Merge pull request #1 from nuffin/main
taigrr Jan 18, 2025
8347018
update deps
taigrr Jan 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
bugfix/vectorstores: weaviate: use correct client creator
  • Loading branch information
taigrr committed Jan 18, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit d6af34a70b784c9f3264236634e741bfb8b14616
4 changes: 2 additions & 2 deletions vectorstores/weaviate/weaviate.go
Original file line number Diff line number Diff line change
@@ -75,15 +75,15 @@ func New(opts ...Option) (Store, error) {
if s.apiKey != nil {
headers["Authorization"] = fmt.Sprintf("Bearer %s", *s.apiKey)
}
s.client = weaviate.New(weaviate.Config{
s.client, err = weaviate.NewClient(weaviate.Config{
Scheme: s.scheme,
Host: s.host,
Headers: headers,
AuthConfig: s.authConfig,
ConnectionClient: s.connectionClient,
})

return s, nil
return s, err
}

// AddDocuments creates vector embeddings from the documents using the embedder
Loading