Open-source inference server and production cluster for all the models your agent needs.
Python bgecolbertdata-pipelinedeep-learningembeddingsinferenceinference-serverinformation-retrievalllmmlmlopsnatural-language-processingnlppythonrerankingretrievalretrieval-augmented-generationsemantic-searchspladevector-search
readme: docs-site language for the quickstart, honest OpenAI curl intro
Filip Makraduli956cef679a96
diff --git a/README.md b/README.mdindex 63871a8bc..eed4074a0 100644--- a/README.md+++ b/README.md@@ -49,7 +49,7 @@ One SIE cluster runs the inference behind a whole agent. Each task is a handful## Quickstart-**1. Start the engine**+**1. Start the server**```bash# macOS (Apple Silicon) or Linux, native (requires Python 3.12)@@ -66,7 +66,7 @@ docker run -p 8080:8080 -v sie-hf-cache:/app/.cache/huggingface ghcr.io/superlincurl http://localhost:8080/readyz # expect: ok```-The server speaks the OpenAI API out of the box; your first embedding needs nothing but curl:+The server speaks the OpenAI API out of the box, and not only for embeddings: a cluster gateway serves `/v1/chat/completions`, `/v1/completions`, and `/v1/responses` too, and on Apple Silicon chat completions run locally through MLX. Your first call needs nothing but curl:```bashcurl http://localhost:8080/v1/embeddings \@@ -82,7 +82,7 @@ pip install sie-sdk # Pythonnpm install @superlinked/sie-sdk # TypeScript (pnpm and yarn work too)```-**3. Call models**+**3. Generate embeddings, rerank, and extract entities**```pythonfrom sie_sdk import SIEClient@@ -90,11 +90,11 @@ from sie_sdk.types import Itemclient = SIEClient("http://localhost:8080")-# Dense embeddings+# Generate embeddingsresult = client.encode("sentence-transformers/all-MiniLM-L6-v2", Item(text="Hello world"))print(result["dense"].shape) # (384,)-# Rerank documents against a query+# Rerank search resultsscores = client.score("cross-encoder/ms-marco-MiniLM-L-6-v2",Item(text="What is machine learning?"),@@ -102,7 +102,7 @@ scores = client.score()print(scores["scores"][0]) # {'item_id': 'item-0', 'score': -7.1, 'rank': 0}-# Zero-shot entity extraction+# Extract entitiesresult = client.extract("urchade/gliner_multi-v2.1",Item(text="Tim Cook is the CEO of Apple."),