This repository contains example implementations and reference code for using the Galileo.ai SDK across both python and typescript applications. Galileo.ai is an evaluation platform for AI applications that helps you monitor, debug, and improve your LLM-powered applications.
➡️ Sign up for a free account on Galileo.ai.
- Galileo.ai Documentation
- Galileo.ai Python SDK Documentation
- Galileo.ai TypeScript SDK Documentation
- A free account on Galileo.ai
- A free Galileo API key (found in the Galileo.ai dashboard)
The examples cover several common LLM application patterns:
- Chatbots: Simple conversational applications
- RAG: Retrieval-Augmented Generation applications that combine knowledge bases with LLMs
- Agents: Systems where LLMs use tools and make decisions
- Weather Vibes Agent: A multi-function agent that provides weather info, recommendations, and matching YouTube videos
- Datasets & Experiments: Managing test data and running controlled experiments
Each directory contains standalone examples with their own setup instructions and dependencies.
- Create a free account on Galileo.ai and obtain an API key
- Install the Galileo SDK for your language of choice
- Clone this repository
- Navigate to the example you want to run
- Install dependencies
- Run the example
sdk-examples/
├── typescript/ # TypeScript implementation examples
│ ├── agent/ # Agent implementation using Galileo SDK
│ ├── chatbot/ # Simple chatbot example
│ ├── datasets-experiments/ # Dataset and experiment examples
│ └── rag/ # Retrieval-Augmented Generation examples
│
├── python/ # Python implementation examples
│ ├── agent/ # Agent implementation using Galileo SDK
│ ├── chatbot/ # Simple chatbot example
│ ├── dataset-experiments/ # Dataset and experiment examples
│ └── rag/ # Retrieval-Augmented Generation examples
The TypeScript examples demonstrate how to integrate Galileo.ai into your Node.js/TypeScript applications. The SDK provides tools for:
- Tracing LLM interactions
- Monitoring retrieval operations in RAG applications
- Tracking agent tool usage and workflows
- Evaluating model outputs
npm install galileo
The Python examples show how to use the Galileo.ai Python SDK in your applications, covering similar use cases as the TypeScript examples.
pip install galileo