https://github.com/circlefin/txt2txn-service
Backend repo for the TXT2TXN Circle Research x Berkeley project on AI and Intents.
https://github.com/circlefin/txt2txn-service
Last synced: about 1 year ago
JSON representation
Backend repo for the TXT2TXN Circle Research x Berkeley project on AI and Intents.
- Host: GitHub
- URL: https://github.com/circlefin/txt2txn-service
- Owner: circlefin
- License: mit
- Created: 2024-08-02T20:10:58.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-08T14:16:33.000Z (almost 2 years ago)
- Last Synced: 2024-11-28T00:17:43.904Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 4
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# TXT2TXN Backend
This repo serves as the backend for the TXT2TXN project.
TXT2TXN is a collaboration between Circle and Blockchain at Berkeley, in particular [Niall Mandal](https://github.com/niallmandal).
## Setup
1. Set up virtual python environment.
```sh
python3 -m venv venv
```
2. Activate virtual environment.
```sh
source venv/bin/activate
```
3. Install dependencies.
```
pip install -r requirements.txt
```
4. Create and populate a .env file.
```
cp .env.example .env
```
Then add OpenAI key to .env file
## Build
Execute the following to run the service:
```
uvicorn main:app --reload
```