llm agent engine package
Project description
A library encapsulating an inference engine based on a large language model, supporting both Chinese and English.
For command interpretation:
def intent_chat(self, prompt, symbol=False) For information retrieval and general conversation:
def model_chat(self, prompt, history=[], max_length=1024, top_p=0.7, temperature=0.1) These functions handle command interpretation (intent_chat) and facilitate information retrieval and general conversation (model_chat). The library supports both Chinese and English languages.
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
AgentGLM-1.0.1.tar.gz
(2.9 kB
view hashes)