Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/asasvirtuais/gitinbed
A simple solution to combine Version Control with Embed Indexing. Creates, updates, and removes embeddings of the repository files based on GIT A (Added Files), M (Modified Files), R (Removed Files), using Voyage and Pinecone.
https://github.com/asasvirtuais/gitinbed
actions embeddings pinecone voyage workflow
Last synced: 5 days ago
JSON representation
A simple solution to combine Version Control with Embed Indexing. Creates, updates, and removes embeddings of the repository files based on GIT A (Added Files), M (Modified Files), R (Removed Files), using Voyage and Pinecone.
- Host: GitHub
- URL: https://github.com/asasvirtuais/gitinbed
- Owner: asasvirtuais
- License: mit
- Created: 2024-08-16T19:32:45.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-01-13T11:59:37.000Z (about 1 month ago)
- Last Synced: 2025-02-02T06:24:17.807Z (18 days ago)
- Topics: actions, embeddings, pinecone, voyage, workflow
- Language: TypeScript
- Homepage:
- Size: 558 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> Git in bed or get embedded
Creates, updates, and removes embeddings of the repository files based on GIT A (Added Files), M (Modified Files), R (Removed Files), using Voyage and Pinecone
[](https://opensource.org/licenses/MIT)
[](https://GitHub.com/asasvirtuais/gitinbed/releases/)## Usage example with Workflow file
.github/workflows/git-repo-embed.yml
```.yml
name: gitinbedon:
push:
branches:
- mainjobs:
update-embeddings:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v44- name: Update Embeddings
uses: asasvirtuais/gitinbed@main
env:
VOYAGE_MODEL: voyage-large-2-instruct
PINECONE_INDEX: ${{ github.repository_owner }}
PINECONE_NAMESPACE: ${{ github.event.repository.name }}
PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}
VOYAGE_API_KEY: ${{ secrets.VOYAGE_API_KEY }}
with:
created: ${{ steps.changed-files.outputs.added_files }}
updated: ${{ steps.changed-files.outputs.modified_files }}
removed: ${{ steps.changed-files.outputs.deleted_files }}
```## Pinecone results:
