openai-cookbook
openai-cookbook copied to clipboard
Examples and guides for using the OpenAI API
## Summary Adding arnaud-openai to authors ## Motivation Why are these changes necessary? How do they improve the cookbook? --- ## For new content When contributing new content, read through...
[optional format] **Identify the file to be fixed** How_to_count_tokens_with_tiktoken.ipynb **Describe the problem** This notebook explains how to calculate the total token for a conversation. But how can we measure the...
## Summary RAG Evaluation notebook with RAGAs using GPT-4o for easy to evaluate RAG and evaluate it on various metrics. ## Motivation Already existing notebooks doesn't provide all the metrics...
**Please do not use the issues page to ask general questions about the OpenAI API.** Questions asked here will usually not receive answers. Feel free to report problems with code...
[optional template] **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the...
…Point.md ## Summary Microsft -> Microsoft ## Motivation Why are these changes necessary? How do they improve the cookbook? ---
## Summary This PR updates the `How_to_count_tokens_with_tiktoken.ipynb` notebook to include the latest models released since `gpt-4-turbo`. The updates ensure compatibility with `gpt-4-turbo`, `gpt-4o`, and their respective variants, along with small...
**Identify the file to be fixed** The name of the file containing the problem. **Describe the problem** The current `tiktoken` sample implementation does not include the latest models released since...
[optional format] **Identify the file to be fixed** The name of the file containing the problem. **Describe the problem** A clear and concise description of what the problem is. **Describe...
Hello, Thank you for sharing this code. I have a similar project, but in my project, it needs to first learn from previous PPTs and, after that, create a new...