Primary navigation

Cookbook Archive

These recipes are older than three years and may reference outdated models or APIs. They are preserved here for reference.

Retrieval augmentation for GPT-4 using Pinecone

Mar 24, 2023

completions embeddings tiktoken

Pinecone vector database

Mar 24, 2023

completions embeddings

Semantic search with Pinecone and OpenAI

Mar 24, 2023

embeddings

How to format inputs to ChatGPT models

Mar 1, 2023

completions tiktoken

Long document content extraction

Feb 20, 2023

completions

Using Qdrant as a vector database for OpenAI embeddings

Feb 16, 2023

embeddings

Question answering with Langchain, Qdrant and OpenAI

Feb 16, 2023

embeddings

Redis

Feb 13, 2023

completions embeddings

Using Redis as a vector database with OpenAI

Feb 13, 2023

embeddings

Weaviate <> OpenAI

Feb 13, 2023

embeddings

Using Weaviate with OpenAI vectorize module for embeddings search

Feb 13, 2023

embeddings

Using Weaviate with OpenAI vectorize module for hybrid search

Feb 13, 2023

embeddings

Question Answering in Weaviate with OpenAI Q&A module

Feb 13, 2023

completions embeddings

Retrieval augmented generative question answering with Pinecone

Feb 7, 2023

completions embeddings

Visualizing embeddings in Weights and Biases

Feb 1, 2023

embeddings

How to work with large language models

Jan 20, 2023

completions

Use cases for embeddings

Jan 20, 2023

embeddings

Related resources from around the web

Jan 20, 2023

completions embeddings

Embedding texts that are longer than the model's maximum context length

Jan 18, 2023

embeddings tiktoken

How to count tokens with Tiktoken

Dec 16, 2022

completions tiktoken

Unit test writing using a multi-step prompt

Nov 15, 2022

completions

How to use the DALLĀ·E API

Nov 4, 2022

dall-e

Clustering for transaction classification

Oct 20, 2022

completions embeddings

Multiclass Classification for Transactions

Oct 20, 2022

completions embeddings

Techniques to improve reliability

Sep 12, 2022

completions

How to stream completions

Sep 2, 2022

completions

Azure embeddings example

Jul 12, 2022

embeddings

Classification using embeddings

Jul 11, 2022

embeddings

Question answering using embeddings-based search

Jun 10, 2022

completions embeddings

Clustering

Mar 10, 2022

embeddings

Code search using embeddings

Mar 10, 2022

embeddings

Customizing embeddings

Mar 10, 2022

embeddings

Fine tuning classification example

Mar 10, 2022

completions fine-tuning

Using embeddings

Mar 10, 2022

embeddings

Get embeddings from dataset

Mar 10, 2022

embeddings

Recommendation using embeddings and nearest neighbor search

Mar 10, 2022

embeddings

Regression using the embeddings

Mar 10, 2022

embeddings

Semantic text search using embeddings

Mar 10, 2022

embeddings

User and product embeddings

Mar 10, 2022

embeddings

Visualizing the embeddings in 2D

Mar 10, 2022

embeddings

Visualizing embeddings in 3D

Mar 10, 2022

embeddings

Zero-shot classification with embeddings

Mar 10, 2022

embeddings

Translate a book writen in LaTeX from Slovenian into English

Mar 10, 2022

completions tiktoken

Fine-Tuned Q&A - collect data

Mar 10, 2022

completions embeddings fine-tuning

Fine-Tuned Q&A - create Q&A

Mar 10, 2022

completions embeddings fine-tuning

Fine-Tuned Q&A - train

Mar 10, 2022

completions embeddings fine-tuning