Latest / AI & agents

Llama2 Embeddings FastAPI Server

github.com · Open source · Active

Self-hosted REST service that returns text embeddings

Visit github.com ↗Share

Stars
1.1k
Forks
67
Open issues
0
Last commit
Found
3 years ago

GitHub figures as of . They are context, not a ranking.

A self-hosted FastAPI service that returns embedding vectors for text using Llama 2 and other GGML models, and compares two strings by cosine similarity. It can also embed a plaintext or PDF file sentence by sentence.

Repository description on GitHub: “A FastAPI service for semantic text search using precomputed embeddings and advanced similarity measures, with built-in support for various file types through textract.”

What it does

  • Returns embedding vectors for text as JSON through a REST API
  • Compares two strings by cosine similarity
  • Embeds plaintext or PDF files sentence by sentence

Good for

  • Get embedding vectors for documents through a REST call
  • Compare the similarity of two sentences with cosine scores

Suits: Developers self-hosting embedding models behind a REST API.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Llama2 Embeddings FastAPI Server on , when eigenvalue posted it to Show HN. GitHub listed no published releases for Dicklesworthstone/llama_embeddings_fastapi_service when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 178 points, 31 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 178 points, 31 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: Dicklesworthstone/llama_embeddings_fastapi_service
  2. Found: eigenvalue posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was Llama2 Embeddings FastAPI Server released?
No dated release record is available. Kip found it on Show HN on 15 Aug 2023.
Is Llama2 Embeddings FastAPI Server open source?
Its source is public on GitHub at Dicklesworthstone/llama_embeddings_fastapi_service; check the repository for licence terms.
What does Llama2 Embeddings FastAPI Server run on?
API, Self-hosted.
Is Llama2 Embeddings FastAPI Server free?
It is open source, so the code is free to read and run; check the licence for terms.
Is Llama2 Embeddings FastAPI Server still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryDicklesworthstone/llama_embeddings_fastapi_service
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-37133163. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in AI & agents

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.