Fullstack Task
Fullstack Task
Objective: Develop a web-based chat interface that enables users to query content extracted
from PDF documents. The system should use AI to generate contextual embeddings for text
segments and employ vector similarity search to find the most relevant responses. The
interface will be developed using Next.js 14.
> Note that many of the tools and libraries used in this task there are Python and TS libraries
- Always use TS.
- Embedding Generation:
- Employ a tool like Langchain for prompt generation, creating contextual
embeddings for text segments. Fine-tune this model on your PDF data to ensure
high relevance and contextuality in embeddings.
- API Development:
- Design a RESTful API that interfaces with the vector database, fetching and
serving text segments from the PDFs based on user queries with robust error
handling.
- Chat UI Development:
- Create a responsive chat interface using Next.js 13, enabling real-time user
queries and displaying API responses in a conversational format.
- Model Refinement:
- Utilize user feedback and interaction data to refine the embedding model,
adopting an iterative improvement approach for enhanced accuracy over time.
- Chat UI Enhancement:
- Continuously explore Next.js 13 features to enhance the chat UI, focusing on
user engagement, accessibility, and convenience features like voice input.
Deliverables:
- A Github repo
- A Loom.com video explaining what you built with Camera and Audio Voiceover
- Chat Web Application: A fully functional chat interface built with Next.js 13, including
user documentation and challenges faced. - Video
- Project Report: Detailed documentation covering the project's methodology, technology
stack, encountered challenges, and key learnings in the Github Repo Readme