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

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.6.tar.gz (49.5 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.6-py3-none-any.whl (57.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wordcel-0.4.6.tar.gz
  • Upload date:
  • Size: 49.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.11 Darwin/25.3.0

File hashes

Hashes for wordcel-0.4.6.tar.gz
Algorithm Hash digest
SHA256 2c3bea5d5179c9a45c501d6c4300be021f577dffd9b9569e8f1f9e8d2a28ea86
MD5 78240a1395d5a74a05f437dcec3371e7
BLAKE2b-256 65853c239cb8360897e4fdf763e34e8948f1cdcf4fdaff155a26d6c198986c8f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wordcel-0.4.6-py3-none-any.whl
  • Upload date:
  • Size: 57.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.11 Darwin/25.3.0

File hashes

Hashes for wordcel-0.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9f8442791c99fad568f689a2910a9606e53e870e0629812d4122b5a8bd04b4d3
MD5 2443c26e60e03bb05c17976e1a06c209
BLAKE2b-256 e1a37aca93906dd53dda938e8d982bfba5e73f058ae8a90d515d015a3c1d81ec

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