A python package to interact with llm model supported by g4f and langchain.
Project description
|
|
|
Interact with LLM in simple way, via G4F, OPENAI, Bard |
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-4.0.29.tar.gz
(9.5 kB
view hashes)
Built Distribution
myllm-4.0.29-py3-none-any.whl
(10.5 kB
view hashes)