Skip to main content

Support for Langfuse operations not handed in the API library

Project description

langfuse-web

Not all of the methods you might need for interacting with Langfuse are available through their API library. This makes use of requests.Session to use the web interface pull all prompts and delete prompts.

Functions

  • get_all_prompts
  • delete_prompt

Setup

The following environment variables are expected to exist:

LANGFUSE_HOST
LANGFUSE_PROJECT
LANGFUSE_EMAIL
LANGFUSE_PASSWORD

pip3 install python-dotenv and employing an .env file is a method frequently employed to manage this requirement

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langfuse_web-0.0.6.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

langfuse_web-0.0.6-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page