This folder contains examples adapted from the OpenAI Cookbook repository. The samples were modified slightly to better run with the GitHub Models service.
- How to process image and video with GPT-4: This notebook shows how to process images and videos with GPT-4.
- How to call functions with chat models: This notebook shows how to get GPT-4o to determing which of a set of functions to call to answer a user's question.
- Data extraction and transformation: This notebook shows how to extract data from documents using gpt-4o-mini.
- How to stream completions: This notebook shows detailed instructions on how to stream chat completions.
- Developing Hallucination Guardrails: Develop an output guardrail that specifically checks model outputs for hallucinations