Phospho examples
Implement logging and discover phospho with those examples
Python
Logging
Setup phospho logging in your app. Run pip install -U phospho
and get a minimal, powerful logging system.
OpenAI agent
A simple generic assistant in the CLI, logging to phospho.
OpenAI agent + Streamlit
An OpenAI assistant in Streamlit, logging to phospho.
url2chat: Chat with any website
Streamlit webapp logging messages and user feedbacks to phospho.
Langchain Python
A simple Langchain retrieval chain, logging to phospho.
Lab
Run those examples locally to discover phospho locally. Just pip install -U "phospho[lab]"
and get hacking.
Quickstart
How to run the Event detection pipeline on a dataset and optimize the pipeline
Create a Custom Job
How to create a custom job and run it with phospho lab
Parallel calls to OpenAI on a dataset
How to run parallel calls to OpenAI on a dataset with parallelization, while respecting rate limits
More Python!
More Python examples
Check out the examples on github!
Javascript
Run npm i phospho
and get a minimal, powerful logging system.
Discover Javascript examples
Check out the examples on github!
Other
Was this page helpful?