From 28556921065889afe12562c495501d86054f9af4 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: 95c933916a2c35a086eadcb1d565e618ecc1b1f0 --- 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