Skip to content

Examples on how to get started with the Galileo SDKs for AI Evaluation and Observability (both in Python and Typescript)

Notifications You must be signed in to change notification settings

rungalileo/sdk-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📖 Galileo.ai SDK Examples

PRs Welcome

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.

📖 Read the Docs

📦 Requirements

🍎 Use Cases

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

🚢 Getting Started

Each directory contains standalone examples with their own setup instructions and dependencies.

  1. Create a free account on Galileo.ai and obtain an API key
  2. Install the Galileo SDK for your language of choice
  3. Clone this repository
  4. Navigate to the example you want to run
  5. Install dependencies
  6. Run the example

🗺️ Repository Structure

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

TypeScript 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

Setup

npm install galileo

Python Examples

The Python examples show how to use the Galileo.ai Python SDK in your applications, covering similar use cases as the TypeScript examples.

Setup

pip install galileo

About

Examples on how to get started with the Galileo SDKs for AI Evaluation and Observability (both in Python and Typescript)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7