Skip to main content

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

https://www.gosuslugi.ru/crt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

staff_cli-0.1.1.tar.gz (25.5 kB view hashes)

Uploaded Source

Built Distribution

staff_cli-0.1.1-py3-none-manylinux_2_34_x86_64.whl (6.3 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.34+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page