Swiss army-knife for composing LLM outputs
Project description
😶 Wordcel
wordcel
is a library of functions that provides a set of common tools for working with large language models.
Candidly, it is mostly a set of functions that I myself use on a regular basis — my own personal Swiss army knife.
Installation
You can simply pip install wordcel
.
Documentation
- LLM APIs: Wrapper functions over the most common LLM APIs.
- RAG: Helper functions for RAG, and a minimal implementation of Anthropic's "Contextual Retrieval" method.
- featurize: Helper functions for multithreaded inference over text columns in pandas DataFrames.
- DAG: WordcelDAG is a flexible and extensible framework for defining and executing Directed Acyclic Graphs (DAGs) of data processing tasks, particularly involving LLMs and dataframes.
There is also a nascent CLI. wordcel --help
:
Usage: wordcel [OPTIONS] COMMAND [ARGS]...
Wordcel CLI.
Options:
--help Show this message and exit.
Commands:
dag WordcelDAG commands.
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
wordcel-0.2.33.tar.gz
(18.6 kB
view hashes)
Built Distribution
Close
Hashes for wordcel-0.2.33-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4421e6230cd377b8cab3af4ff2c3e0a57b7e28a1e9893b8474e6325960186e6 |
|
MD5 | c86e4b1ed200e86a285f1b10467df0a9 |
|
BLAKE2b-256 | 0c505b2eabb41ac7189e5b2d8bf2ad1825cda7afb85f5d5a0b41981c32465860 |