From ee9f33657fba31df16a3f8fbecab67268c178bad Mon Sep 17 00:00:00 2001 From: Kye Date: Tue, 8 Aug 2023 11:30:48 -0400 Subject: [PATCH] openai chat example Former-commit-id: 9d87cc9ac6100ce30f6cc77e15b4a1352bd9af49 --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index f5b30005..271b6f8b 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,15 @@ Download via Github, and install requirements. Simple example by: * or create a new file: +```python +from swarms import OpenAI + +chat = OpenAI() +response = chat("Hello world!") + +``` + + ```python from swarms.swarms import HierarchicalSwarm