LLMs made Zen
Project description
Zenbase Python SDK
Installation
Zenbase requires Python ≥3.10. You can install it using your favorite package manager:
pip install zenbase
poetry add zenbase
rye add zenbase
Usage
Zenbase is designed to require minimal changes to your existing codebase and integrate seamlessly with your existing eval/observability platforms. It works with any AI SDK (OpenAI, Anthropic, Cohere, Langchain, etc.).
Labeled Few-Shot Learning Cookbooks:
LabeledFewShot will be useful for tasks that are just one layer of prompts.
Cookbook | Run in Colab |
---|---|
langsmith.ipynb | |
arize.ipynb | |
langfuse.ipynb | |
parea.ipynb | |
lunary.ipynb |
Bootstrap Few-Shot Learning Cookbooks:
BootstrapFewShot will be useful for tasks that are multiple layers of prompts.
Cookbook | Run in Colab |
---|---|
langsmith.ipynb | |
arize.ipynb | |
langfuse.ipynb | |
parea.ipynb | |
lunary.ipynb |
Development setup
This repo uses Python 3.10 and rye to manage dependencies. Once you've gotten rye installed, you can install dependencies by running:
rye sync
And activate the virtualenv with:
. .venv/bin/activate
You can run tests with:
rye test # pytest -sv to see prints and verbose output
rye test -- -m helpers # integration tests with helpers
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
Built Distribution
Hashes for zenbase-0.0.4rc3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d742d62cd548adb648d00a74f04c290493272bfd090af8f49fbb5cf054c166c0 |
|
MD5 | 771e97924a5682d409458dcf49516d47 |
|
BLAKE2b-256 | 9f913150c42d8f1bd901ea3f2f759729abf1def4cb715205c1a73c5ac912ff1e |