https://github.com/blink1073/pymongo-voyageai-test

PyMongo integration with VoyageAI for multimodal embedding.

https://github.com/blink1073/pymongo-voyageai-test

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
Last synced: 11 months ago · JSON representation

Repository

PyMongo integration with VoyageAI for multimodal embedding.

Basic Info
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 1
  • Releases: 0
Archived
Created over 1 year ago · Last pushed 12 months ago
Metadata Files
Readme License

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="", collectionname="test", database_name="tests", )

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

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

All Time
  • Total Commits: 34
  • Total Committers: 1
  • Avg Commits per committer: 34.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 34
  • Committers: 1
  • Avg Commits per committer: 34.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email 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 (1) github_actions (1)

Dependencies

.github/workflows/release-python.yml actions
  • 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
.github/workflows/test-python.yml actions
  • actions/checkout v4 composite
  • astral-sh/setup-uv v5 composite
  • extractions/setup-just v3 composite
  • mongodb-labs/drivers-evergreen-tools master composite
.github/workflows/zizmor.yml actions
  • actions-rust-lang/setup-rust-toolchain v1 composite
  • actions/checkout v4 composite
  • github/codeql-action/upload-sarif v3 composite
pyproject.toml pypi
  • boto3 >=1.37.25
  • langchain-mongodb >=0.6.0
  • pymongo >=4.12.0
  • voyageai >=0.3.0
uv.lock pypi
  • 102 dependencies