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

Support setting vector_db as a param #2313

Merged
merged 73 commits into from
Apr 17, 2024
Merged

Support setting vector_db as a param #2313

merged 73 commits into from
Apr 17, 2024

Conversation

thinkall
Copy link
Collaborator

@thinkall thinkall commented Apr 7, 2024

Why are these changes needed?

This is the follow-up PR of #2263 . One more step for #1657.

Related issue number

Closes #1261

Checks

@sonichi sonichi added this pull request to the merge queue Apr 17, 2024
Merged via the queue into main with commit c4e5703 Apr 17, 2024
75 of 88 checks passed
@sonichi sonichi deleted the refactor_rag_db_as_param branch April 17, 2024 08:38
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Issue][RAG] Reuse an existing vector database for RetrieveUserProxyAgent
5 participants