This project is a proof of concept for a web-based language model (WebLLM) chat application. It consists of a frontend for the chat interface and a backend for handling embeddings and retrievals using Qdrant.
- Clone the repository:
git clone https://github.com/mitchellsimoens/poc-webllm.git
cd poc-webllm
- Install dependencies:
bun install
- Start Qdrant using Docker:
docker-compose up -d
- Start the backend:
cd backend
bun start
- Start the frontend:
cd frontend
bun start
- Embed the files:
cd embeds
bun start
- Open your browser and navigate to http://localhost:8883 to access the chat interface.
- Use the chat interface to interact with the language model.
- POST /embed: Insert or update an embedding in Qdrant.
- DELETE /embed/all: Remove all embeddings from Qdrant.
- DELETE /embed/:id: Remove an embedding from Qdrant.
- GET /retrieve: Search for similar documents.
- GET /list: List stored embeddings with pagination.
Return the quarterly profits for the year 2024
Provide CSV for the yearly total sales and year-over-year growth rate by year for all sales data
What was the sales for the first half of 2018?
This project is licensed under the MIT License.