Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI Chat Application

This project is a FastAPI application that provides endpoints for managing chat sessions and performing health checks.

Project Structure

fastapi-project
├── src
│   └── main.py            # Contains the FastAPI application code
│   └── firebase.py        # Contains the Firebase & Firestore code
│   └── graphs.py          # Contains the graph manager code
│   └── cr_rag_nodes.py    # Contains the nodes for the cr_rag graph
├── Dockerfile             # Instructions for building the Docker image
├── requirements.txt      # Python dependencies required for the project
└── README.md             # Documentation for the project

Requirements

Make sure to have Python 3.10 or higher installed. The project dependencies are listed in requirements.txt.

Installation

  1. Clone the repository:

    git clone git@github.com:LeeSomm/ETLode_API.git
    cd etlode_api
    
  2. Install the dependencies:

    pip install -r requirements.txt
    

Running the Application

To run the FastAPI application locally, execute the following command:

uvicorn src.main:app --host 0.0.0.0 --port 8000 --reload

Docker

To build and run the application using Docker, follow these steps:

  1. Build the Docker image:

    docker build -t etlode_api .
    
  2. Run the Docker container:

    docker run -d -p 8000:8000 etlode_api
    

API Endpoints

  • Health Check: GET /health - Returns the health status of the application.

TODO: Update below.

License

This project is licensed under the MIT License.

About

A FastAPI implementation of LangChain graphs to power custom LLM applications.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages