Local RAG Chatbot for Contract Documents

Posted yesterday

Worldwide

Summary

## Project Overview I'm looking for an experienced AI/LLM developer to build a local-first contract review and question-answering application using Retrieval-Augmented Generation (RAG). The system should allow users to upload contract documents, ask natural language questions about them, and receive accurate answers with document citations. This project is intended as an MVP/Proof of Concept and must run entirely on local machines, with no cloud hosting required. ## Requirements ### 1. Document Upload & Processing * Support uploading: * PDF files * DOCX files * TXT files * Parse and extract document content * Chunk documents appropriately for retrieval * Generate embeddings and store them in a local vector database * Support adding new agreements/documents after initial setup ### 2. Chat Interface Create a clean browser-based interface where users can ask questions such as: * "What is the termination clause in the ABC Vendor Agreement?" * "Which contracts include a non-compete clause?" * "What are the payment terms in this agreement?" The system should: * Return accurate answers based on document content * Cite the source document and relevant section/page whenever possible * Allow users to: * Search across all uploaded documents * Restrict queries to a specific document ### 3. Local-First Architecture Requirements: * Runs entirely on a local machine * No cloud hosting required for this phase * Data must remain local * The only external communication allowed is OpenAI API calls for answer generation (and optionally embeddings) ### Preferred Technology Stack #### LLM * OpenAI GPT-4o or GPT-4o-mini #### Embeddings * OpenAI text-embedding-3-small * OR Sentence Transformers (developer recommendation welcome) #### Vector Database * FAISS (preferred) #### Backend * Python * FastAPI (preferred) or Flask #### Frontend * Simple HTML/CSS/JavaScript * OR lightweight React application #### Document Parsing * PyPDF2 * pdfplumber * python-docx I'm open to recommendations as long as the solution remains local-first and uses the OpenAI API. --- ## Deliverables * Complete source code * Clean and organized repository (GitHub or ZIP) * README with setup instructions * Documentation for: * Installation * Configuration * Running the application locally * Adding new documents --- ## What I Will Provide * OpenAI API key(s) * Sample agreement documents for testing (NDAs, service agreements, vendor contracts, etc.) * Prompt feedback throughout development * Clear requirements and timely communication ## Ideal Freelancer * Experience building RAG applications * Strong knowledge of OpenAI APIs * Experience with vector databases (especially FAISS) * Experience with document ingestion and retrieval systems * Python/FastAPI development experience --- ## Timeline * MVP / Prototype Delivery: 1–2 weeks --- ## To Apply, Please Include 1. Links to similar RAG, document search, or document Q&A projects you've built (GitHub, demos, portfolio, etc.) 2. Your preferred technology stack for this project 3. Estimated number of days required to deliver the MVP 4. Any questions or suggestions regarding the requirements

  • $40.00

    Fixed-price
  • Intermediate
    Experience Level
  • Remote Job
  • Ongoing project
    Project Type
Skills and Expertise
Mandatory skills
Python
Natural Language Processing
Activity on this job
  • Proposals:20 to 50
  • Last viewed by client:yesterday
  • Interviewing:
    4
  • Invites sent:
    0
  • Unanswered invites:
    0
About the client
Member since Jun 24, 2026
  • Sri Lanka
    Colombo4:37 AM
  • $5 total spent
    1 hire, 1 active
  • Tech & IT
    Individual client

Explore similar jobs on Upwork

Co-Pilot TrainingHourly‐ Posted 2 months ago
Claude
AI Model Training
Artificial Intelligence
Training & Development
Training Session
AI DeveloperHourly‐ Posted 1 month ago
AI Chatbot
JavaScript
Large Language Model
Multimodal Large Language Model
Chatbot Development
Artificial Intelligence
NLP Tokenization
Natural Language Processing
Python

How it works

  • Post a job icon
    Create your free profile
    Highlight your skills and experience, show your portfolio, and set your ideal pay rate.
  • Talent comes to you icon
    Work the way you want
    Apply for jobs, create easy-to-by projects, or access exclusive opportunities that come to you.
  • Payment simplified icon
    Get paid securely
    From contract to payment, we help you work safely and get paid securely.
Want to get started? Create a profile

About Upwork

  • Rating is 4.9 out of 5.
    4.9/5
    (Average rating of clients by professionals)
  • G2 2021
    #1 freelance platform
  • 49,000+
    Signed contract every week
  • $2.3B
    Freelancers earned on Upwork in 2020

Find the best freelance jobs

Growing your career is as easy as creating a free profile and finding work like this that fits your skills.

Trusted by

  • Microsoft Logo
  • Airbnb Logo
  • Bissell Logo
  • GoDaddy Logo