https://github.com/blink1073/pymongo-voyageai-test
PyMongo integration with VoyageAI for multimodal embedding.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (4.1%) to scientific vocabulary
Repository
PyMongo integration with VoyageAI for multimodal embedding.
Basic Info
- Host: GitHub
- Owner: blink1073
- License: apache-2.0
- Language: Python
- Default Branch: main
- Homepage: https://pymongo-voyageai-test.readthedocs.io/en/latest/
- Size: 519 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
- Releases: 0
Metadata Files
README.md
PyMongo-VoyageAI
PyMongo integration with VoyageAI for multimodal embedding.
Quickstart
```python from pymongo_voyageai import PyMongoVoyageAI
Create our client.
client = PyMongoVoyageAI(
voyageaiapikey=os.environ["VOYAGEAPIKEY"],
mongoconnectionstring=os.environ["MONGODBURI"],
s3bucketname="
Load data from a pdf url.
url = "https://www.fdrlibrary.org/documents/356632/390886/readingcopy.pdf" images = client.urltoimages(url) resp = client.add_documents(images)
Wait for the vector search index to update.
client.waitforindexing()
Query the embeddings, extracting the images.
query = "The consequences of a dictator's peace" data = client.similaritysearch(query, extractimages=True)
Display the best image match.
data[0]["inputs"][0].image.show()
Clean up and close the client.
client.delete_many({}) client.close() ```
Owner
- Name: Steven Silvester
- Login: blink1073
- Kind: user
- Company: MongoDB
- Website: https://www.linkedin.com/in/steven-silvester-90318721/
- Repositories: 371
- Profile: https://github.com/blink1073
GitHub Events
Total
- Delete event: 2
- Push event: 8
- Pull request review event: 1
- Pull request review comment event: 4
- Pull request event: 3
- Create event: 2
Last Year
- Delete event: 2
- Push event: 8
- Pull request review event: 1
- Pull request review comment event: 4
- Pull request event: 3
- Create event: 2
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Steven Silvester | s****r@m****m | 34 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- blink1073 (1)
- dependabot[bot] (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v4 composite
- actions/download-artifact v4 composite
- actions/setup-python v5 composite
- actions/upload-artifact v4 composite
- pypa/gh-action-pypi-publish release/v1 composite
- actions/checkout v4 composite
- astral-sh/setup-uv v5 composite
- extractions/setup-just v3 composite
- mongodb-labs/drivers-evergreen-tools master composite
- actions-rust-lang/setup-rust-toolchain v1 composite
- actions/checkout v4 composite
- github/codeql-action/upload-sarif v3 composite
- boto3 >=1.37.25
- langchain-mongodb >=0.6.0
- pymongo >=4.12.0
- voyageai >=0.3.0
- 102 dependencies