Introduction

What is Aigur Client?

A free and opensource (MIT) library to compose and invoke fully typed (🎉) Generative AI pipelines.

Aigur Client is supported by Aigur (opens in a new tab) but can be used entirely independent of Aigur. Aigur (opens in a new tab) offers managed pipeline execution as well as user management, pipeline analytics and more.

A ⭐ on GitHub (opens in a new tab) will be much appreciated!

Examples

Clone this repo (opens in a new tab) for a quickstart NextJs template or check out the examples below.

Create an Image with your Voice

This pipeline takes an audio recording of a prompt, transcribes it using Whisper, enhances it with keywords using GPT3 and generates an image using Stable Diffusion.

Try saying things like: a small house, a sports car, an large balloon, an empty street
Use one of these examples if you're too lazy:
No image yet
Transcription: N/A
Enhanced Prompt: N/A
Active

Image to Poem

This pipeline takes an image, labels it with Google's Vision API and creates a poem according the labels it finds.

Upload an Image
Use one of these examples if you're too lazy:
No poem yet :(
Active
* Slight issue with visualizing streaming nodes.

Chatbot with Memory

A simple chatbot (using GPT-4) with a 1 hour memory in a few lines of code. Try asking it about facts from previous messages (even after refreshing the page):


> `My name is John`
> `What is my name?`

💡

If you're looking for hour long conversations check out ChatGPT, they have bigger pockets than me :) Please be considerate!

Active
* Slight issue with visualizing streaming nodes.

Summarize Text and Read It Out Loud

This pipeline takes a long text, summarizes it with GPT3 and converts the result to audio.

Use one of these examples if you're too lazy:
Active

Read on to learn how to use Aigur Client to create your own Pipelines.