Skip to content

Commit c6a1469

Browse files
committed
refac
1 parent 97cc947 commit c6a1469

12 files changed

Lines changed: 46 additions & 0 deletions

File tree

backend/open_webui/retrieval/vector/dbs/elasticsearch.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
NOTE: This vector database integration is community-supported and maintained on a best-effort basis.
3+
"""
4+
15
from elasticsearch import Elasticsearch, BadRequestError
26
from typing import Optional
37
import ssl

backend/open_webui/retrieval/vector/dbs/mariadb_vector.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
NOTE: This vector database integration is community-supported and maintained on a best-effort basis.
3+
"""
4+
15
from __future__ import annotations
26

37
import array

backend/open_webui/retrieval/vector/dbs/milvus.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
NOTE: This vector database integration is community-supported and maintained on a best-effort basis.
3+
"""
4+
15
from pymilvus import MilvusClient as Client
26
from pymilvus import FieldSchema, DataType
37
from pymilvus import connections, Collection

backend/open_webui/retrieval/vector/dbs/milvus_multitenancy.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
NOTE: This vector database integration is community-supported and maintained on a best-effort basis.
3+
"""
4+
15
import logging
26
from typing import Optional, Tuple, List, Dict, Any
37

backend/open_webui/retrieval/vector/dbs/opengauss.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
NOTE: This vector database integration is community-supported and maintained on a best-effort basis.
3+
"""
4+
15
from typing import Optional, List, Dict, Any
26
import logging
37
import re

backend/open_webui/retrieval/vector/dbs/opensearch.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
NOTE: This vector database integration is community-supported and maintained on a best-effort basis.
3+
"""
4+
15
from opensearchpy import OpenSearch
26
from opensearchpy.helpers import bulk
37
from typing import Optional

backend/open_webui/retrieval/vector/dbs/oracle23ai.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
"""
2+
NOTE: This vector database integration is community-supported and maintained on a best-effort basis.
3+
24
Oracle 23ai Vector Database Client - Fixed Version
35
46
# .env

backend/open_webui/retrieval/vector/dbs/pinecone.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
NOTE: This vector database integration is community-supported and maintained on a best-effort basis.
3+
"""
4+
15
from typing import Optional, List, Dict, Any, Union
26
import logging
37
import time # for measuring elapsed time

backend/open_webui/retrieval/vector/dbs/qdrant.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
NOTE: This vector database integration is community-supported and maintained on a best-effort basis.
3+
"""
4+
15
from typing import Optional
26
import logging
37
from urllib.parse import urlparse

backend/open_webui/retrieval/vector/dbs/qdrant_multitenancy.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
NOTE: This vector database integration is community-supported and maintained on a best-effort basis.
3+
"""
4+
15
import logging
26
from typing import Optional, Tuple, List, Dict, Any
37
from urllib.parse import urlparse

0 commit comments

Comments
 (0)