Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rpdelaney/gptalk
A little cli app to run various LLM workflows for me
https://github.com/rpdelaney/gptalk
Last synced: about 1 month ago
JSON representation
A little cli app to run various LLM workflows for me
- Host: GitHub
- URL: https://github.com/rpdelaney/gptalk
- Owner: rpdelaney
- Created: 2023-08-08T15:41:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-25T18:17:11.000Z (3 months ago)
- Last Synced: 2024-09-06T05:18:03.931Z (2 months ago)
- Language: Python
- Homepage:
- Size: 497 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
GPTalk
======``gptalk`` is a command-line grab bag of workflows I often use with LLMs.
`ChatGPT `__ is the only supported back-end.Demo
----
GPTalk's commands can perform pre-processing. For example, if asked to summarize
a YouTube video, it will quietly extract the subtitles to the video and print a
summary:|asciicast|
.. |asciicast| image:: https://asciinema.org/a/UDieN0MgIUfBBJluaiKl4aY8z.svg
:target: https://asciinema.org/a/UDieN0MgIUfBBJluaiKl4aY8zInstallation
------------I recommend `pipx `__ for managing python
modules in your interactive shell... code:: console
$ poetry build && pipx install .
Usage
-----.. code:: console
$ gptalk --help
Usage: gptalk [OPTIONS] COMMAND [ARGS]...Do some stuff with ChatGPT.
Options:
--version Show the version and exit.
--help Show this message and exit.Commands:
howdoi Like `howdoi` but ChatGPT instead of StackOverflow.
outline Generate MECE outline of an arbitrary topic.
subsfix Fix subtitles generated with speech to text.
ticket Create a task ticket using a basic WHAT/WHY/AC format.
tldr Provide a tl;dr on a stream.
vcard Read unstructured data and output a contact card (VCF).``gptalk`` has various subcommands. Data is read from standard input; if
not found, your $EDITOR will be opened.Development
-----------To install development dependencies, you will need ``poetry`` and
``pre-commit``:.. code:: console
$ pipx install poetry pre-commit
[...]
$ cd gptalk
$ pre-commit install --install-hooks
[...]
$ poetry install && poetry shell