This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 122
Remove create_with_new_index() #57
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
99be0d1
[kb] Remove create_with_new_index()
igiloh-pinecone bfe9980
[kb] Further simplify create_index and solve a few bugs
igiloh-pinecone 87f3432
[cli] Update cli to use new kb.create_resin_index()
igiloh-pinecone 9e01275
[kb] remove redundant print
igiloh-pinecone 6f4dcb4
[test] Fix kb tests following create_with_new() removal
igiloh-pinecone 71c71c0
[test] test_app bug fix
igiloh-pinecone f3a1d82
[kb] Added explicit connect() step
igiloh-pinecone d8a832c
[test] Changed test_kb to work with the new .connect() mechanism
igiloh-pinecone 119c65a
Merge remote-tracking branch 'origin/dev' into remove_create_new
igiloh-pinecone 08ad731
linter
igiloh-pinecone 96666dc
[test] Fix test_kb
igiloh-pinecone 94e292e
[kb] Improve connect() mechanism
igiloh-pinecone 3eee7f8
[kb] Remove explicit error on calling .create_index() after .connect()
igiloh-pinecone 9370399
Merge branch 'dev' into remove_create_new
igiloh-pinecone c6fc163
Merge branch 'dev' into remove_create_new
igiloh-pinecone File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we take this params only on the create method? getting it here makes an illusion that you pass index params and get a KB with it, but the truth is you can use it only in create method
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will explain it in the docstring.
It has to be here, so you can do that:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it, not ideal but good enough for now. I think it means that we want the defaults to be in the config.yaml