Crates.io | llm-weaver |
lib.rs | llm-weaver |
version | 0.2.1 |
source | src |
created_at | 2023-10-31 15:57:55.966443 |
updated_at | 2024-09-26 17:12:27.026728 |
description | Manage long conversations with any LLM |
homepage | |
repository | https://github.com/loreweaver-xyz/llm-weaver |
max_upload_size | |
id | 1019989 |
size | 77,290 |
LLM Weaver is a flexible library designed to interact with any LLM, with an emphasis on managing long conversations exceeding the maximum token limit of a model, ensuring a continuous and coherent user experience.
This library is a rust implementation of OpenAI's Tactic for handling long conversations with a token context bound LLM.
Once a certain threshold of context tokens is reached, the library will summarize the entire conversation and begin a new conversation with the summarized context appended to the system instructions.
Follow the crate level documentation for a detailed explanation of how to use the library.
If you are passioniate about this project, please feel free to fork the repository and submit pull requests for enhancements, bug fixes, or additional features.
LLM Weaver is distributed under the MIT License, ensuring maximum freedom for using and sharing it in your projects.