Skip to content

Latest commit

 

History

History
62 lines (42 loc) · 1.1 KB

File metadata and controls

62 lines (42 loc) · 1.1 KB

RAG-System

Overview

This project is an AI agent that answers questions asked by the user. Prepared as sample code for RAG Implementation. 2023 World Population data is available in AWS S3.

Technologies Used

Backend: Django Web Framework, Django Rest Framework, LangChain, Pandas, NumPy, Cohere, Pyarrow, Renumics

Database: PostgreSQL, AWS S3, Chroma

URL's

Register: http://127.0.0.1:8000/auth/register/

Login: http://127.0.0.1:8000/auth/login/

Logout: http://127.0.0.1:8000/auth/logout/

LLM Agent: http://127.0.0.1:8000/api/llm/

Make Migrations

    $ python manage.py makemigrations
    $ python manage.py migrate

Start the Project

    $ python manage.py runserver

Superuser Data

  • Superuser Username
    admin
  • Superuser password
    123

Code Formatting

This project uses black formatter. You can use this command to format your code:

  • Format all files
    $ black .
  • Format a single file
    $ black <file_name>

Detailed information about black formatter: https://github.com/psf/black