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

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.1.tar.gz (38.2 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.1-py3-none-any.whl (46.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wordcel-0.4.1.tar.gz
Algorithm Hash digest
SHA256 3e73aec3fff39b9938e64907de7e71e56261e73fbb264c44bbbf98a3d6849b3b
MD5 906ac28194a259d6388cd14e7fd05e01
BLAKE2b-256 dac38cb1eaeb06cb0190923029fa98d91da257255d9f2f82ab77fafafe3b7b62

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for wordcel-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a0b2ba6f714fb8621eaaaab8377016318e80226d94ebdc3938a49cd1149a7998
MD5 60a3d2e75808732b876b55b1c3f57979
BLAKE2b-256 e7922c7d54b04fd34c6182ae1be3fa2b17b4f9262368c25dd60593bcdb8e7450

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