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
Metadata
Release files for llm-agent 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| llm-agent-0.3.0.tar.gz | 92.9 kB | Details |
Release files / llm-agent-0.3.0.tar.gz
| Download URL | llm-agent-0.3.0.tar.gz |
|---|---|
| Size | 92.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
577ab26f2275bfc96d802f09a05fb429d2d02aac48e22ee44f24ee15b80eea3d
|
|
BLAKE2b-256 checksum How to use checksums |
22612d8edfa4e9b83cfedaba5a46329f1635cd478a3335daae5d6602aa83e5cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.12
|