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.chat(
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-3.1.11.tar.gz
(5.5 kB
view hashes)