From 94bd6335bf4948986dba1b3e156e8c4dbd00bb91 Mon Sep 17 00:00:00 2001 From: Louis Beaumont Date: Fri, 5 May 2023 19:01:51 +0200 Subject: [PATCH] chore:doc --- README.md | 47 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f179d20..2eeef19 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,48 @@ # embedbase-qdrant -Embedbase + Qdrant - Advanced and high-performant vector similarity search technology in your AI applications +
+ +[Embedbase](https://github.com/different-ai/embedbase) + [Qdrant](https://qdrant.tech) - Advanced and high-performant vector similarity search technology in your AI applications +
+
+ ⚠️ Status: Alpha release ⚠️ +
+
+ Discord + PyPI + + +
+ +If you have any feedback or issues, please let us know by opening an issue or contacting us on [discord](https://discord.gg/pMNeuGrDky). + +Please refer to the [documentation](https://docs.embedbase.xyz/sdk). + +## Getting started + +To install the Embedbase Qdrant library, run the following command: + +```bash +pip install embedbase-qdrant +``` + +## Usage + +```python +import os +import uvicorn +from embedbase import get_app +from embedbase.embedding.openai import Openai +from sentence_transformers import SentenceTransformer +from embedbase_qdrant import Qdrant + +app = get_app().use_embedder(Openai( + os.environ["OPENAI_API_KEY"], +)).use_db(Qdrant()).run() + +if __name__ == "__main__": + uvicorn.run(app, reload=True) +``` + +Check out other [examples](./examples/main.py) and [documentation](https://docs.embedbase.xyz/sdk) for more details. +