Multi-Agent Language Game Environments for Large Language Models
Project description
Installation
pip install llm-agent==0.3.0
Need to assign the OPENAI_API_KEY, if you are trying to use openai api
export OPENAI_API_KEY=""
To assess your own large language model, follow the below instructions
from llm-agent
def chatbox(*args, **kwargs):
## define your chatbox's function and make sure it follow the GPT-3.5-turbo format with 'message', 'temperature' and 'max_tokens' paramenters.
llm_agent.run(chatbox, file_path) ## the file path refers to the path to store your results
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
llm-agent-0.3.0.tar.gz
(92.9 kB
view details)
File details
Details for the file llm-agent-0.3.0.tar.gz.
File metadata
- Download URL: llm-agent-0.3.0.tar.gz
- Upload date:
- Size: 92.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
577ab26f2275bfc96d802f09a05fb429d2d02aac48e22ee44f24ee15b80eea3d
|
|
| MD5 |
fc9ca07e63f605b83eaa2c6026886c86
|
|
| BLAKE2b-256 |
22612d8edfa4e9b83cfedaba5a46329f1635cd478a3335daae5d6602aa83e5cb
|