grafana / vectorapi Goto Github PK
View Code? Open in Web Editor NEWpgvector + embeddings API
Home Page: https://grafana.github.io/vectorapi/
License: GNU Affero General Public License v3.0
pgvector + embeddings API
Home Page: https://grafana.github.io/vectorapi/
License: GNU Affero General Public License v3.0
Similar to /query, except taking in a text input instead of a vector input
Options:
/v1/collections/<collection_name>/search
) that only takes text input/v1/collections/<collection_name>/query
to have flexible input (either text input or vector input)We should maybe also support a generic search without going to a specific collection first, e.g.
/v1/search
that takes a collection_name
in the inputCurrently we expect a model to be specific at query time, but the model use should just be the same model used to initialize the collection.
Might be better to just store the model name in the collection details.
Baseline done in #10
At the moment we only run sync
at the start up which means that if a collection is created by another pod then this collection won't come up by other vectorapi pods.
Add sync on pgvector client get_collection() to solve this issue.
Getting the following error
vectorapi-api-1 | asyncpg.exceptions.TooManyConnectionsError: sorry, too many clients already
When running upserts during collection setup.
make up
make store
in llm-experiment-lab
)For testing and docker build
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.