fix readme (#107)
Browse files
README.md
CHANGED
@@ -124,15 +124,15 @@ Three ways to pass in cookies:
|
|
124 |
|
125 |
Use Async for the best experience
|
126 |
|
127 |
-
|
128 |
|
129 |
```python
|
130 |
import asyncio
|
131 |
-
from EdgeGPT import Chatbot
|
132 |
|
133 |
async def main():
|
134 |
bot = Chatbot()
|
135 |
-
print(await bot.ask(prompt="Hello world", conversation_style=
|
136 |
await bot.close()
|
137 |
|
138 |
|
|
|
124 |
|
125 |
Use Async for the best experience
|
126 |
|
127 |
+
Reference code for more advanced example of usage:
|
128 |
|
129 |
```python
|
130 |
import asyncio
|
131 |
+
from EdgeGPT import Chatbot, ConversationStyle
|
132 |
|
133 |
async def main():
|
134 |
bot = Chatbot()
|
135 |
+
print(await bot.ask(prompt="Hello world", conversation_style=ConversationStyle.creative))
|
136 |
await bot.close()
|
137 |
|
138 |
|