openai-cookbook icon indicating copy to clipboard operation
openai-cookbook copied to clipboard

Examples and guides for using the OpenAI API

Results 368 openai-cookbook issues
Sort by recently updated
recently updated
newest added

## Summary Added a description for [Unify.ai](https://unify.ai/) in the `Related Resources` article. ## Motivation This change includes tools that developers may find useful when iterating and developing LLM applications.

## Summary Add Langtail to the 'Prompting libraries & tools' section. ## Motivation Langtail is useful for LLM developers. The playground has support for OpenAI Tools and Vision.

## Summary This pull request adds PostgreSQL to the category of vector databases capable of working with OpenAI. This first contribution includes the main overview page (README.md) and a Jupyter...

PostgreSQL has several extensions and solutions in its ecosystem that let us use the database for the vector similarity search and other AI/ML-related use cases. Let's add the Postgres pgvector...

## Summary This does not add new content, just makes necessary updates to existing cookbooks where changes were made in the latest preview Azure OpenAI API version. 1. The "bring...

Stale

## Summary This PR adds a cookbook and dataset for vulnerability detection proposed in #1100 ## Motivation LLMs like GPT4 have shown proficiency in classifying code as secure or insecure....

## Summary This PR introduces a cookbook that provides guidance on performing fundamental NLP tasks in a cost-efficient manner. ## Motivation Over the past few years, developers have encountered significant...

Stale

## Summary Ragas is an open-source library for evaluating RAG applications. In these two notebooks, I am showcasing - how to evaluate RAGs with ragas + OpenAI - how to...

Stale

**Identify the file to be fixed** N/A - This issue is related to the OpenAI API's deterministic behavior when using the seed parameter. **Describe the problem** I am encountering an...

bug

How do you calculate token count for a python dict? ![image](https://github.com/openai/openai-cookbook/assets/2786295/2dc2632f-e8aa-4d51-ad11-5a5f7f84ce54) I'm coming from https://github.com/openai/openai-cookbook/blob/main/examples/How_to_count_tokens_with_tiktoken.ipynb I adopted the code in this notebook and made a function `ensure_messages_fit_limit` that, given my...

support