This folder contains examples on how to use phospho to log in different contexts.
- Quickstart A quickstart guide to using phospho lab
- Creating a Custom Job How to create a custom job and run it with phospho lab
- hello.py How to log an OpenAI call
- session.py How to set up custom session management
- metadata.py How to log metadata
- streamlit_assistant.py ChatGPT-like assistant displayed in a streamlit webapp
- ollama Example of a GPT-like assistant working a model deployed locally with Ollama.
- streamlit_santa_agent A fun Santa Claus agent in a sync streamlitwebapp
- fastapi_streamlit_santa_agent A fun Santa Claus agent with an async FastAPI backend and Streamlit frontend
- langchain Example of how the integration of phospho logging to a RAG Langchain agent.