Skip to content

Commit

Permalink
update example requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
mansouralawi committed Jan 10, 2025
1 parent 89d78fb commit e0bd5a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ keywords = ["xircuits", "gradio", "ML interfaces"]
dependencies = [
"gradio==4.44",
"makefun",
"openai==1.57"
]

# Xircuits-specific configurations
Expand Down

0 comments on commit e0bd5a3

Please sign in to comment.