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.4

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.4.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.4-py3-none-any.whl (47.1 kB view details)

Uploaded Python 3

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

Hashes for wordcel-0.4.4.tar.gz
Algorithm Hash digest
SHA256 f8b88fff3ccbd3ed25b246716f3e7fd522ea9cc24edf12445286c67aabed66a9
MD5 77cd18fed18fa471d1e724bab46ffdba
BLAKE2b-256 a5e386b6148b89f7c8f9f8532ee248f078858190b6bb004c2bb991a7df74735c

See more details on using hashes here.

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

Hashes for wordcel-0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c36c18bcabb18b17a60870f1dbb0aa303ad846c821a703df4c3611bf02d41cbe
MD5 125f3a157fa421a4dbd11448d5e2357c
BLAKE2b-256 166e6f13bb1d162e60a3cbac5425b3a9889a9ae9deec13b674e5b70937e003b9

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