Code examples
Templates
Templates are sample projects that use common AI patterns and tools, and that already contain the configurations required by Openlayer.
They illustrate the synergy between Openlayer’s development and monitoring modes.
For examples that show monitoring mode only, check out the Monitoring page.
Example | Stack |
---|---|
OpenAI Chatbot - Python Sample chatbot app that uses OpenAI’s GPT to answer to user queries. | Python OpenAI Flask |
OpenAI - TypeScript Sample app that uses OpenAI’s GPT to answer to user queries. | TypeScript OpenAI |
Anthropic Structured Outputs - Python Sample app that extracts structured data using Anthropic’s Claude and instructor. | Python Anthropic Instructor |
LangChain PDF Processing - Python Sample app that processes PDF files and extracts structured data using LangChain. | Python LangChain Flask |
RAG with Azure OpenAI - Python Sample app built with a multi-step RAG pipeline that shows tracing. | Python Azure OpenAI Flask |
LangChain - Python Sample app built with LangChain. | Python LangChain Flask |
CI/CD with GitHub Actions Template that shows how to use Openlayer with GitHub Actions. | |
Tabular classification - Python Sample app that uses a scikit-learn model to predict churn. | Python scikit-learn Flask |
Tabular regression - Python Sample app that uses a scikit-learn model to estimate the risk of diabetes. | Python scikit-learn Flask |
Was this page helpful?