-
Notifications
You must be signed in to change notification settings - Fork 1k
Milvus vector db #244
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
Merged
Merged
Milvus vector db #244
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
f650700
Feature: Integrate Milvus as the VectorDatabase
jinhonglin-ryan fb5f0cf
chore: Make milvus an optional dependency
dexters1 764c089
fix: Resolve Milvus connection issue, add config to milvus test, add …
dexters1 c301498
fix: Fix batch search function
dexters1 747a6b9
Merge pull request #243 from jinhonglin-ryan/feature/milvus-vectordb
dexters1 e462ebe
docs: Update README.md with stable databases
dexters1 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| name: test | milvus | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| pull_request: | ||
| branches: | ||
| - main | ||
| types: [labeled, synchronize] | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| env: | ||
| RUNTIME__LOG_LEVEL: ERROR | ||
| ENV: 'dev' | ||
|
|
||
| jobs: | ||
| get_docs_changes: | ||
| name: docs changes | ||
| uses: ./.github/workflows/get_docs_changes.yml | ||
|
|
||
| run_milvus: | ||
| name: test | ||
| needs: get_docs_changes | ||
| if: needs.get_docs_changes.outputs.changes_outside_docs == 'true' && ${{ github.event.label.name == 'run-checks' }} | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| fail-fast: false | ||
| defaults: | ||
| run: | ||
| shell: bash | ||
|
|
||
| steps: | ||
| - name: Check out | ||
| uses: actions/checkout@master | ||
|
|
||
| - name: Setup Python | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: '3.11.x' | ||
|
|
||
| - name: Install Poetry | ||
| # https://github.com/snok/install-poetry#running-on-windows | ||
| uses: snok/[email protected] | ||
| with: | ||
| virtualenvs-create: true | ||
| virtualenvs-in-project: true | ||
| installer-parallel: true | ||
|
|
||
| - name: Install dependencies | ||
| run: poetry install -E milvus --no-interaction | ||
|
|
||
| - name: Run default basic pipeline | ||
| env: | ||
| ENV: 'dev' | ||
| LLM_API_KEY: ${{ secrets.OPENAI_API_KEY }} | ||
| run: poetry run python ./cognee/tests/test_milvus.py | ||
|
|
||
| - name: Clean up disk space | ||
| run: | | ||
| sudo rm -rf ~/.cache | ||
| sudo rm -rf /tmp/* | ||
| df -h | ||
This file contains hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.