('A library for augmenting large language models',)
Project description
augllm
augllm is a wrapper library for operating Augmented Large Language Models (LLMs) using Ollama.
It provides an interface for utilizing external tools via Function Calling.
Note that the actual implementations of the tools are not included—users are expected to integrate their own external implementations as needed.
Repository: https://github.com/ToPo-ToPo-ToPo/augllm
Table of Contents
- Features / Overview
- Requirements
- Installation
- Usage
- Sample Programs
- Integration with Function Calling
- License
1. Features / Overview
- Interact with LLMs (either local or cloud-based) through Ollama
- Support for tool integration using Function Calling
- Tools are defined as abstract interfaces; concrete implementations (e.g., API calls, local script execution) can be freely developed by the user
- Designed with extensibility in mind: easy integration with custom tools, chaining, and prompt engineering
2. Requirements
- Python 3.11 or higher
- An environment where Ollama CLI or API client is available
3. Installation
- Create and activate a virtual environment
python -m venv env
On macOS, activate the virtual environment:
source env/bin/activate
- Install the library
pip install augllm
4. Usage
Sample Programs
A test/ directory is included in the repository.
Please refer to the two files inside as examples.
Integration with Function Calling
- Provide function signatures in the prompt that represent expected tool calls
- Receive the function call request returned by the model (tool name + arguments)
- Invoke the corresponding tool interface’s
run(...)method and obtain the result - Pass the result back to the model to obtain the final response
5. License
This project is licensed under the Apache-2.0 License.
See the LICENSE file for details.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file augllm-1.3.tar.gz.
File metadata
- Download URL: augllm-1.3.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62ddf721a29213c2b375f78da565ffbe1bb70bd53f37769c0ff4fa0af8e17758
|
|
| MD5 |
7ee0691559680ecc194f2c9a21a477ec
|
|
| BLAKE2b-256 |
6b9f0323bbdcecc3592e667eabc2ff74a77c60025ba5c9b4889eb99da37a519e
|
File details
Details for the file augllm-1.3-py3-none-any.whl.
File metadata
- Download URL: augllm-1.3-py3-none-any.whl
- Upload date:
- Size: 26.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0156995dbe1b435ee2571d9fba9e7f0a6af3632a2de4173993cf375007ee50d
|
|
| MD5 |
ecdf89767f17b33c924c16bb26a61e9c
|
|
| BLAKE2b-256 |
fe51e38f394f61c802a15f099e3abe82ec5c16d512d5b6bad631411b111dc04b
|