Tutorials

Tutorials#

The following examples showcase many typical use cases of how to use the Imagine SDK. The code snippets are designed so that you can copy-paste and run them on your environment.

Basic usage

The tutorials about how to use the Imagine clients are a good starting point to unlock the potential of Imagine.

Basic usage
Tool calling

The tutorials about how to use the Tool Calling using Imagine clients

Tool Calling
LangChain

If you are familiar with LangChain, have a look at the LangChain examples.

LangChain
RAG

How the Imagine SDK can be used with LangChain for retrieval-augmented generation.

RAG with ChromaDB
LiteLLM

How to use liteLLM to make API calls with Imagine

LiteLLM
Agents

Use agentic frameworks like crewAI and Autogen to orchestrate powerful workflows.

CrewAI
Guarded LLM

How to introduce input and output guardrails.

Guarded LLM
Logging

How to enable logging.

Logging

Table of contents#