Chat with OpenAI Assistant using function call in AG2: OSS Insights for Advanced GitHub Data Analysis
This Jupyter Notebook demonstrates how to leverage OSS Insight (Open Source Software Insight) for advanced GitHub data analysis by defining Function calls
in AG2 for the OpenAI Assistant.
This Jupyter Notebook demonstrates how to leverage OSS Insight (Open
Source Software Insight) for advanced GitHub data analysis by defining
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 requires Python>=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.
Fetching GitHub Insight Data using Function Call
This part of the notebook demonstrates the practical application of the defined functions and the OpenAI Assistant Agent in fetching and interpreting GitHub Insight data.