A python package to interact with llm model supported by g4f and langchain.
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.talk(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-3.0.5.tar.gz
(5.8 kB
view hashes)