talky = MyLLM()
chat = await talky.chat("My name is Jack")
print(chat)
# π» Hello Jack, this is Bing. I'm happy to help you with general tasks. π
chat = await talky.chat("tell me who is president of the united states?")
print(chat)
# The current president of the United States is **Joe Biden**[^1^][1] [^2^][2].
# He took office on **January 20, 2021**[^1^][1] [^2^][2].
# He is the **46th** president of the United States[^2^][2] [^3^][5].
chat = await talky.chat("what is my name")
print(chat)
# π» You told me your name is Jack. Is that correct?
await talky.export_chat_history()
# talky.clear_chat_history()
This repository was archived by the owner on Jul 26, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Latest commit
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
A python package to interact with llm model
Topics
Resources
Stars
8 stars
Watchers
1 watching