forgesight-langfuse
The Langfuse exporter for ForgeSight.
Ships ForgeSight records to Langfuse over its OTLP ingest endpoint
(/api/public/otel, Basic auth), enriched with the native langfuse.*
attributes so LLM calls render as generation observations, tools as tool
observations, and the run's user/session/tags lift to the trace.
pip install forgesight-langfuse
import forgesight
from forgesight_langfuse import LangfuseExporter
forgesight.configure(exporters=[
LangfuseExporter(public_key="pk-lf-...", secret_key="sk-lf-...",
host="https://cloud.langfuse.com"),
])
Or by name: exporters: [{name: langfuse, config: {public_key: …, secret_key: …}}].
Two paths
- First-party (this package): native
langfuse.*observation mapping + the SDK's computed cost (forgesight.usage.cost_usd) ingested. - OTLP-native (no package): point
forgesight-otelathttps://cloud.langfuse.com/api/public/otelwithAuthorization: Basic base64(pk:sk).
Prompt/response content is captured only with capture_content=True (off by default).
License
Apache-2.0
Metadata
Release files for forgesight-langfuse 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| forgesight_langfuse-0.1.1.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| forgesight_langfuse-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.1 kB
Release files / forgesight_langfuse-0.1.1.tar.gz
| Download URL | forgesight_langfuse-0.1.1.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
066de893c07550c47dc868549d546d9eb0ba79a2c1934063ea5e670d4fd73a0d
|
|
BLAKE2b-256 checksum How to use checksums |
85f23e6c40077216cab38affef373ec78bc11d300db65d0d4a9b49fa5d13bffb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / forgesight_langfuse-0.1.1-py3-none-any.whl
| Download URL | forgesight_langfuse-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8b5aed7e3900af2859a2d2abc9d2b4096cf75ffe00da0f9d6a66250fb46bfa58
|
|
BLAKE2b-256 checksum How to use checksums |
42360a2ed04ccf3e5c98e1a4017d2662b1bdf3e9a781aacb75b2fe60a797723e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|