Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neeraj1bh/langpt
https://github.com/neeraj1bh/langpt
Last synced: about 7 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/neeraj1bh/langpt
- Owner: neeraj1bh
- Created: 2024-01-13T11:00:24.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-13T14:06:01.000Z (about 1 year ago)
- Last Synced: 2024-04-23T00:10:03.004Z (10 months ago)
- Language: Python
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Langchain test
## Overview
This tool is designed for automatically generating and testing Python code based on a specific task. It leverages OpenAI's language models and a sequence of chains to produce code and corresponding tests.
## Requirements
- Python 3.6+
- Dependencies: aiohttp, aiosignal, annotated-types, langchain, openai, python-dotenv, etc. (Complete list in `requirements.txt`)## Setup
1. Install dependencies: `pip install -r requirements.txt`
2. Set up environment variables in a `.env` file (template in `.env.example`).## Usage
```bash
python main.py --task="return a list of numbers" --language="python"
```