Spaces:
Running on Zero
Running on Zero
File size: 791 Bytes
48813cf | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | ---
title: LOGOS Embedding Engine
emoji: 🧠
colorFrom: blue
colorTo: indigo
sdk: gradio
app_file: app.py
pinned: false
---
# LOGOS Embedding Engine
Remote BGE-M3 embedding worker for the local LOGOS application.
The UI accepts one text/chunk per line. The API also accepts a JSON array.
## LOGOS API contract
The endpoint is exposed as `embed_batch`. LOGOS sends a JSON-array string through the Textbox input, for example `["chunk 1", "chunk 2"]` (without the control characters). The endpoint returns `model`, `embeddings`, `dimension`, and `count`.
Environment variables:
- `LOGOS_EMBED_MODEL` — default `BAAI/bge-m3`
- `LOGOS_EMBED_BATCH_SIZE` — internal SentenceTransformer batch size, default `16`
- `LOGOS_EMBED_MAX_INPUTS` — maximum texts per API request, default `64`
|