🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

wordcel

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wordcel

Swiss army-knife for composing LLM outputs

0.4.0
PyPI
Maintainers
1

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts