Skip to content

musictechlab/mtl-langchain

LangChain Experiments at MTL

Built by MusicTech Lab

This project demonstrates how to use the LangChain OpenAI API to translate text from English to Polish.

Prerequisites

  • Python 3.7 or higher
  • Poetry for dependency management

Installation

  1. Clone the repository:

    git clone https://github.com/musictechlab/mtl-langchain mtl-langchain
    cd mtl-langchain
  2. Install dependencies using Poetry:

    poetry install
  3. Create a .env file in the root directory of the project and add your OpenAI API key:

    OPENAI_API_KEY=your_openai_api_key

Usage

To run the script, use the following command:

poetry run python main.py

About

LangChain + OpenAI demo that translates text from English to Polish.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages