Code Monkey home page Code Monkey logo

merchant-data-api's Introduction

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.

merchant-data-api's People

Contributors

nsginx avatar frozen-07 avatar

Stargazers

Shamoyita Datta avatar

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.