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
Built Distribution
File details
Details for the file AgentGLM-1.0.1.tar.gz
.
File metadata
- Download URL: AgentGLM-1.0.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9edf46f244baf608864a5fecec56c6f989b8ee6faedf5cd5c507a3502a3cf5ae |
|
MD5 | 47c1e9d28d76ea9783a3246bef633d4e |
|
BLAKE2b-256 | 58194c0aa7d211e5b7aa70c25b6648b551e491506470f71e60bc689af8ad9e4e |
File details
Details for the file AgentGLM-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: AgentGLM-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 963dc03af3febe98bb14c6cfe7b1eb75bd0764108c700f5e4c86f3136d7ebed6 |
|
MD5 | b712c578a6e24e380fd46bb3feb2928c |
|
BLAKE2b-256 | 143595ee1f4820b59741d4c90caba6399818c86f34d30479ed39d3aa33cbc413 |