Giter Site home page Giter Site logo

ming-mind-langchain-backend's Introduction

ๆ˜Ž๐Ÿง ๐Ÿฆœโ›“๏ธ๐Ÿ‘

Multi-Modal [M]ediator for [I]nterlocutive [N]oxiousness and [G]rievances

MING | an exploration of AI conflict mediation by The Knight Foundation School of Computing and Information Sciences at Florida International University.

This repository contains the FastAPI backend for MING, which integrates with LangChain to analyze text input and provide feedback.

Setup

1. Clone the Repository

git clone https://github.com/your-repo-url.git
cd your-repo-directory

2. Environment Variables

Create a .env file in the root directory of the project and add the following:

OPENAI_API_KEY=your_openai_api_key

Replace your_openai_api_key with your actual OpenAI API key.

3. Install Dependencies

Using pip:

pip install -r requirements.txt

Using conda:

First, create a new conda environment:

conda create --name claridad-ai-env python=3.8
conda activate claridad-ai-env

Then, install the dependencies:

while read requirement; do conda install --yes $requirement; done < requirements.txt

Running the Application

Activate the virtual environment (if using conda: conda activate claridad-ai-env), and then:

python app.py

The application will start, and you can access it at http://localhost:5000.


Note: Make sure to replace your-repo-url and your-repo-directory with the appropriate values for your project. Adjust the Python version in the conda setup if you're using a different version.

ming-mind-langchain-backend's People

Contributors

meekmachine avatar rdgbrian avatar

Watchers

 avatar

ming-mind-langchain-backend's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.