A complete rewrite of the library recently took place, a lot of things have changed. Developers recommend immediate update. For more information access: Migration Guide

This example shows how to use the Openai client with LlamaAPI

Using the OpenAI client with tool calling (previously function calling):