|
|
|
|
|
Interact with LLM in simple way, via G4F, OPENAI/LOCALAI |
How to use it
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()
Documentation
Metadata
Release files for MyLLM 4.19.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| myllm-4.19.15.tar.gz | 14.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| myllm-4.19.15-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.0 kB
Release files / myllm-4.19.15.tar.gz
| Download URL | myllm-4.19.15.tar.gz |
|---|---|
| Size | 14.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a55fd4249395e8d0916d5abdae4004da85d3194c21a723ef26ef2e2cec20dfb4
|
|
BLAKE2b-256 checksum How to use checksums |
d062674108688a17d2c4d70c46ae0b3e373a707c0d78cfbf865ce30284d3baeb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / myllm-4.19.15-py3-none-any.whl
| Download URL | myllm-4.19.15-py3-none-any.whl |
|---|---|
| Size | 13.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
23eba002b5a154b3038a0f889da62c4633fe31945b22c99e79d50436ab2be1e9
|
|
BLAKE2b-256 checksum How to use checksums |
d148488f46e9c81838b4f53ec6509d023e180692f9f080941d99a52e7d55d053
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|