-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Support setting vector_db as a param #2313
Merged
Merged
+1,178
−1,053
Conversation
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
…ogen into refactor_abstract_vectordb
3 tasks
jayralencar
pushed a commit
to jayralencar/autogen
that referenced
this pull request
May 28, 2024
* Added vectordb base and chromadb * Remove timer and unused functions * Added filter by distance * Added test utils * Fix format * Fix type hint of dict * Rename test * Add test chromadb * Fix test no chromadb * Add coverage * Don't skip test vectordb utils * Add types * Fix tests * Fix docs build error * Add types to base * Update base * Update utils * Update chromadb * Add get_docs_by_ids * Improve docstring * Update init params * Update init vector db * Add get all docs * Move chroma_results_to_query_results to utils * Add init vectordb * Convert format of results for old version * Improve type hints * Update get_context for new query results format * Fix typo * Improve init db * Update default folder * Update logger * Update init, add embedding func * Update distance_threshold * Fix logger name * Update qdrant * Fix init db * Update notebooks * Use kwargs to improve readability * Improve docstring of vectordb, add two attributes * Add db_config * Update gitignore * Update comments * Add source * Fix file downloaded from urls have the same name * Remove files added by mistake * Improve docstring * Update docstring Co-authored-by: Chi Wang <wang.chi@microsoft.com> * Update docstring * Update docstring --------- Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Why are these changes needed?
This is the follow-up PR of #2263 . One more step for #1657.
RetrieveUserProxyAgent
to use different vector dbRelated issue number
Closes #1261
Checks