A python package to interact with llm model supported by g4f
Project description
|
|
|
Interact with LLM in simple way. |
How to use it
talky = MyLLM()
logger.info(await talky.talk(
prompt="tell me who is president of the united states?"))
# The current President of the United States is Joe Biden.
logger.info(await talky.chat(prompt="let's start a conversation"))
# keep the chat history
Documentation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
myllm-1.2.31.tar.gz
(5.9 kB
view hashes)
Built Distribution
myllm-1.2.31-py3-none-any.whl
(6.8 kB
view hashes)