Started a dummy OpenWebUI tool. I will upload the working version in the next pull request
Browse files
extra/OpenWebuiTool/openwebui_tool.py
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
OpenWebui Lightrag Integration Tool
|
3 |
+
==================================
|
4 |
+
|
5 |
+
This tool enables the integration and use of Lightrag within the OpenWebui environment,
|
6 |
+
providing a seamless interface for RAG (Retrieval-Augmented Generation) operations.
|
7 |
+
|
8 |
+
Author: ParisNeo ([email protected])
|
9 |
+
Social:
|
10 |
+
- Twitter: @ParisNeo_AI
|
11 |
+
- Reddit: r/lollms
|
12 |
+
- Instagram: https://www.instagram.com/parisneo_ai/
|
13 |
+
|
14 |
+
License: Apache 2.0
|
15 |
+
Copyright (c) 2024-2025 ParisNeo
|
16 |
+
|
17 |
+
This tool is part of the LoLLMs project (Lord of Large Language and Multimodal Systems).
|
18 |
+
For more information, visit: https://github.com/ParisNeo/lollms
|
19 |
+
|
20 |
+
Requirements:
|
21 |
+
- Python 3.8+
|
22 |
+
- OpenWebui
|
23 |
+
- Lightrag
|
24 |
+
"""
|
25 |
+
|
26 |
+
from pathlib import Path
|
27 |
+
from typing import Optional, List, Dict, Union, Any
|
28 |
+
from datetime import datetime
|
29 |
+
|
30 |
+
# Tool version
|
31 |
+
__version__ = "1.0.0"
|
32 |
+
__author__ = "ParisNeo"
|
33 |
+
__author_email__ = "[email protected]"
|
34 |
+
__description__ = "Lightrag integration for OpenWebui"
|