No project description provided
Project description
GPT playground
Just me playing with large language models, langchain, etc.
gptme
An interactive CLI to let you interact with LLMs in a Chat-style interface.
With features like:
- Supports OpenAI and any model that runs in llama
- Thanks to llama-cpp-server!
- Tools
- Access to the local machine
- Execute shell/Python code on the local machine.
- Command output (stdout & stderr + error code) will be feeded back to the agent, making it able to self-correct errors etc.
- Can handle long context sizes through summarization.
- (not very well developed)
Usage
Install deps:
poetry install
To use locally, you need to start llama-cpp-server:
poetry run python -m llama_cpp.server --model ~/ML/Manticore-13B.ggmlv3.q4_1.bin
Then you can interact with it using:
gptme --llm llama
TODO
Ideas for things to try:
- An agent that looks up the latest CI job, and if it failed, tries to figure out how to fix it.
- An agent that looks up recent GitHub issues, tries to generate an answer.
- An agent that looks up recent GitHub PRs, tries to generate an action (comment, ask for human review, merge, close).
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
gpt_playground-0.1.1.tar.gz
(18.2 kB
view details)
Built Distribution
File details
Details for the file gpt_playground-0.1.1.tar.gz
.
File metadata
- Download URL: gpt_playground-0.1.1.tar.gz
- Upload date:
- Size: 18.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.1.35-1-lts
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff09cdbe205c0877723a1bc0c883f7d6214cf6e3ab4769f9d337f0bf1b28e0ce |
|
MD5 | 21b490ea948d4274ebdd26126bbac5bb |
|
BLAKE2b-256 | dcc179ada7bd432e0873c39c36f560fa48dd982996689821b6c3dcb3cddabab8 |
File details
Details for the file gpt_playground-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: gpt_playground-0.1.1-py3-none-any.whl
- Upload date:
- Size: 23.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.1.35-1-lts
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | febd5bfcf362d1afde592ac1e47a65a66df578c375917020525332e9206368e9 |
|
MD5 | 4fd9dc189f4177677a5449f4cc5c5f7e |
|
BLAKE2b-256 | 4033ec7a1578ec266f3b36cb2ff0f75fd7995e44f16db0a54ae1d8733bb565a6 |