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.4.0.tar.gz
(38.0 kB
view details)
Built Distribution
wordcel-0.4.0-py3-none-any.whl
(45.8 kB
view details)
File details
Details for the file wordcel-0.4.0.tar.gz
.
File metadata
- Download URL: wordcel-0.4.0.tar.gz
- Upload date:
- Size: 38.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.13 Darwin/24.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
c99f47ad9b077eff0d225669e8e5d3d58154d06a559de59c1d6d27ae4b6cdce5
|
|
MD5 |
27492c5fca6927fa4c01b3c6b3903d5e
|
|
BLAKE2b-256 |
0242eb0b7a0736130dcc58db0e9362fe283515b174022357185fedaa7937376a
|
File details
Details for the file wordcel-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: wordcel-0.4.0-py3-none-any.whl
- Upload date:
- Size: 45.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.13 Darwin/24.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
bd298689adeca8ac2260e0c2592613235077138be3042b819be2c86f912a5e14
|
|
MD5 |
01f2975a6da6ca1249ee8e31bfcadc85
|
|
BLAKE2b-256 |
577527a4fa69ec46b0ada8ad232cbff243a94cd25c53412b2b2cd7a66c44768a
|