You are browsing as a guest. Sign up (or log in) to start making projects!

RomeoGPT

  • 1 Devlogs
  • 2 Total hours

A FastAPI application that uses a pre-chunked version of Romeo and Juliet consisting of 90 text chunks. It generates embeddings for each chunk using Azure OpenAI and stores them for semantic search. When a user asks a question, the application converts the question into an embedding, finds the most relevant chunks based on vector similarity, and provides them as context to an Azure OpenAI language model, which then generates an answer.

Ship #1 Changes requested

Building RomeoGPT was an interesting challenge because I had to implement semantic search using embeddings and retrieve the most relevant text passages from Romeo and Juliet before generating an answer.

I'm most proud of creating a complete question-answering system with FastAPI and Azure OpenAI that can answer questions based on the book's content.

The live API is not publicly available because every request generates Azure OpenAI costs, and opening it to everyone could result in high expenses. However, the "Try project" link provides a downloadable executable (.exe) version that can be run directly on your computer for testing.

  • 1 devlog
  • 2h
Try project → See source code →

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…