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.3.tar.gz (38.9 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.3-py3-none-any.whl (47.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wordcel-0.4.3.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/24.6.0

File hashes

Hashes for wordcel-0.4.3.tar.gz
Algorithm Hash digest
SHA256 23682d52cdab0f00564521c1e39b298312429d9d9df85fff7429cf1915848570
MD5 a2cde4afb45ef4c3cb4f94cae81990b4
BLAKE2b-256 143b0fb0a28eaa9c06f0f70febea65eca9630fc3ccd602e1c5e4bb6a37a6cc92

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wordcel-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 47.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.13 Darwin/24.6.0

File hashes

Hashes for wordcel-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bdf190c54a1f7d84def968517677b692f224aaaefb069ae52996e02241e1770f
MD5 41323a35a0fd5a2cb2fcc50ddcf5f2ae
BLAKE2b-256 d82666d1824c2bd462332ae2cb1f3b14930ff957e1131005bfb802f5fabeb28d

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