Function calls
in AG2 for the OpenAI Assistant.
The notebook is structured into four main sections:
- Function Schema and Implementation
- Defining an OpenAI Assistant Agent in AG2
- Fetching GitHub Insight Data using Function Call
Requirements
AG2 requiresPython>=3.9
. To run this notebook example, please
install:
Function Schema and Implementation
This section provides the function schema definition and their implementation details. These functions are tailored to fetch and process data from GitHub, utilizing OSS Insight’s capabilities.Defining an OpenAI Assistant Agent in AG2
Here, we explore how to define an OpenAI Assistant Agent within the AG2. This includes setting up the agent to make use of the previously defined function calls for data retrieval and analysis.Learn more about configuring LLMs for agents here.