simon-muenker / TWON-Agents

Home Page:https://api.twon.uni-trier.de/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TWON: Agents - Generative Agent through LLMs

The repository contains a REST API to inference with generative agents in a social media thread. The agents are powered by large language models through Hugging Face and OpenAi.

Note: Currently, the work is an alpha version and will undergo breaking changes during the development.

Project Setup

# install Python requirements
make install

# update local repository and restart server
make update

# start with hot-reload for development
make dev

# start for production
make serve

# run unit tests
make test

dotenv

The API assumes a valid Hugging Face and OpenAi API token inside the project repository in a dotenv file.

HF_TOKEN="hf_XXXXXXXXXXXXXXXXX"
OPENAI_API_KEY="sk-XXXXXXXXXXXXXXXXX"

Usage

todo

About

https://api.twon.uni-trier.de/

License:Apache License 2.0


Languages

Language:Jupyter Notebook 97.0%Language:Python 3.0%Language:Makefile 0.0%