Staff is a toolkit for dead-simple usage out of the box promts and llms in your project and command line.
Project description
Staff is a toolkit for dead-simple usage out of the box promts and llms in your project and command line.
DRY & magic flow is a core principle.
Current state is WIP.
Idea/Vision
Any good prompt combined with a llm is a pure magic. And you don't need to repeat yourself and find a good prompt, you can find well-prepared by community grimoires (combination of prompt, agents, functions & llms or only a prompt) then you learn this grimoire and can you use it on any text. Staff can help you with mastering your grimoires. Be brave in your path.
Structure of the Grimoire 0.1 version:
---
title:
description:
tags: []
author:
---
[//]: # (SYSTEM)\n
Here any System prompt...
[//]: # (USER)\n
Here any User prompt...
You can use a grimoire with such packed of knowledge structure or it can be just a simple text without any metatags or SYSTEM/USER prompts. In that case everything is a SYSTEM prompt.
In the future version I want to add support for models & functions.
Installation
You can install it from pip, cargo
# pip install staff-cli
# cargo install staff-cli --locked # Not available yet
Or you can build ast-grep from source. You need to install rustup, clone the repository and then
cargo install --path ./crates/cli --locked
## USAGE
How to get ideas from the youtube video? You need to have installed [youtube_transcript_api](https://github.com/jdepoix/youtube-transcript-api)
```bash
youtube_transcript_api TY0o3Zs8u78 --languages en --format text | tr '\n' ' ' | xargs cargo run -- cast -n extract_wisdom
FOR CONTRIBUTORS
About GigaChat model:
On UBUNTU/DEBIAN we need to install libssl-dev
sudo apt-get install libssl-dev
Install certificates
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
Built Distribution
Hashes for staff_cli-0.1.1-py3-none-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f03e3979dd47e817180d8ac536817165c013678b37ca567b54046c4d1a66474 |
|
MD5 | a998050af7a326a9f109e83d9d5bdb70 |
|
BLAKE2b-256 | 18860c170581e2ed2b47ba8ff1e6076e0ea1b15fb75f3882021c5882dc131183 |