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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wordcel-0.4.4.tar.gz.
File metadata
- Download URL: wordcel-0.4.4.tar.gz
- Upload date:
- Size: 38.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.13 Darwin/25.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8b88fff3ccbd3ed25b246716f3e7fd522ea9cc24edf12445286c67aabed66a9
|
|
| MD5 |
77cd18fed18fa471d1e724bab46ffdba
|
|
| BLAKE2b-256 |
a5e386b6148b89f7c8f9f8532ee248f078858190b6bb004c2bb991a7df74735c
|
File details
Details for the file wordcel-0.4.4-py3-none-any.whl.
File metadata
- Download URL: wordcel-0.4.4-py3-none-any.whl
- Upload date:
- Size: 47.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.13 Darwin/25.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c36c18bcabb18b17a60870f1dbb0aa303ad846c821a703df4c3611bf02d41cbe
|
|
| MD5 |
125f3a157fa421a4dbd11448d5e2357c
|
|
| BLAKE2b-256 |
166e6f13bb1d162e60a3cbac5425b3a9889a9ae9deec13b674e5b70937e003b9
|