From e0bd5a3567a87426fd688c766f62a10e0402223e Mon Sep 17 00:00:00 2001 From: mansouralawi Date: Fri, 10 Jan 2025 09:43:33 +0800 Subject: [PATCH] update example requirement --- README.md | 6 ++++++ pyproject.toml | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0aef68c..d16b585 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,12 @@ This example creates an interactive form using Gradio components to collect user This example creates an interactive Gradio chatbot interface that integrates OpenAI responses and predefined replies. The bot can respond to common greetings such as "hello" or "bye" using predefined responses and utilizes OpenAI's GPT for more complex queries. The chat interface is interactive, tracks conversation history, and allows seamless user interaction. +Additional Example Requirement: +``` +pip install openai==1.57 +``` + + ### Gradio Agent Example This example creates an interactive Gradio chatbot interface powered by an OpenAI agent. The bot can respond to user queries, such as providing current weather information and the time in specific locations, by using predefined tools like `get_weather` and `get_current_time`. The chatbot tracks the conversation history and saves the responses for further interaction. diff --git a/pyproject.toml b/pyproject.toml index d1ee36b..ef7be76 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,6 @@ keywords = ["xircuits", "gradio", "ML interfaces"] dependencies = [ "gradio==4.44", "makefun", - "openai==1.57" ] # Xircuits-specific configurations