Skip to main content

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

This version

0.4.5

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.5.tar.gz (39.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wordcel-0.4.5-py3-none-any.whl (47.2 kB view details)

Uploaded Python 3

File details

Details for the file wordcel-0.4.5.tar.gz.

File metadata

  • Download URL: wordcel-0.4.5.tar.gz
  • Upload date:
  • Size: 39.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.13 Darwin/25.0.0

File hashes

Hashes for wordcel-0.4.5.tar.gz
Algorithm Hash digest
SHA256 d6b7025d1b0746771cfbd04e29497019d9218242e5af284d1b7860bcb09bf3cb
MD5 1a2c5da4f78989a2464a4fec9fb2effc
BLAKE2b-256 d31cf305a93a5a60302cc7d4fb93835df344c72afd6281a46ab2069b1a5c357a

See more details on using hashes here.

File details

Details for the file wordcel-0.4.5-py3-none-any.whl.

File metadata

  • Download URL: wordcel-0.4.5-py3-none-any.whl
  • Upload date:
  • Size: 47.2 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

Hashes for wordcel-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 82565688432e4c102f2ca17de2a316c0c53b4301a83ae010c9cbc619ae3589f0
MD5 c0b750a2dac52e6f64a3e3d85d779d3b
BLAKE2b-256 85f03c2b3e65ba72e80e0020d1c4dc3355aa7b66518c62049ee9361c030fddd0

See more details on using hashes here.

Supported by

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