Skip to content

FroZen-07/Merchant-Data-API-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Merchent Data API

This repository contains an experimental API for LangChain, integrating OpenAI's language model for advanced linguistic applications. The API is built using Flask and leverages the capabilities of both LangChain and OpenAI.

Installation

To set up the project, follow these steps:

Install required Python packages using pip:

pip install langchain_experimental==0.0.49 langchain_openai pandas flask tabulate python-dotenv

Create a .env file in the project root directory and set your OpenAI API key:

OPENAI_API_KEY=sk-...

Set up a virtual environment named api-venv:

python -m venv api-venv

Activate venv:

api-venv\Scripts\Activate.ps1

Run the API using the following command:

python app.py

This will start the Flask server, and the API will be accessible at http://localhost:5000.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages