mirror of
https://github.com/open-webui/open-webui.git
synced 2026-04-30 01:10:17 -05:00
refac
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
"""
|
||||||
|
NOTE: This vector database integration is community-supported and maintained on a best-effort basis.
|
||||||
|
"""
|
||||||
|
|
||||||
from elasticsearch import Elasticsearch, BadRequestError
|
from elasticsearch import Elasticsearch, BadRequestError
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
import ssl
|
import ssl
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
"""
|
||||||
|
NOTE: This vector database integration is community-supported and maintained on a best-effort basis.
|
||||||
|
"""
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
import array
|
import array
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
"""
|
||||||
|
NOTE: This vector database integration is community-supported and maintained on a best-effort basis.
|
||||||
|
"""
|
||||||
|
|
||||||
from pymilvus import MilvusClient as Client
|
from pymilvus import MilvusClient as Client
|
||||||
from pymilvus import FieldSchema, DataType
|
from pymilvus import FieldSchema, DataType
|
||||||
from pymilvus import connections, Collection
|
from pymilvus import connections, Collection
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
"""
|
||||||
|
NOTE: This vector database integration is community-supported and maintained on a best-effort basis.
|
||||||
|
"""
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
from typing import Optional, Tuple, List, Dict, Any
|
from typing import Optional, Tuple, List, Dict, Any
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
"""
|
||||||
|
NOTE: This vector database integration is community-supported and maintained on a best-effort basis.
|
||||||
|
"""
|
||||||
|
|
||||||
from typing import Optional, List, Dict, Any
|
from typing import Optional, List, Dict, Any
|
||||||
import logging
|
import logging
|
||||||
import re
|
import re
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
"""
|
||||||
|
NOTE: This vector database integration is community-supported and maintained on a best-effort basis.
|
||||||
|
"""
|
||||||
|
|
||||||
from opensearchpy import OpenSearch
|
from opensearchpy import OpenSearch
|
||||||
from opensearchpy.helpers import bulk
|
from opensearchpy.helpers import bulk
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
"""
|
"""
|
||||||
|
NOTE: This vector database integration is community-supported and maintained on a best-effort basis.
|
||||||
|
|
||||||
Oracle 23ai Vector Database Client - Fixed Version
|
Oracle 23ai Vector Database Client - Fixed Version
|
||||||
|
|
||||||
# .env
|
# .env
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
"""
|
||||||
|
NOTE: This vector database integration is community-supported and maintained on a best-effort basis.
|
||||||
|
"""
|
||||||
|
|
||||||
from typing import Optional, List, Dict, Any, Union
|
from typing import Optional, List, Dict, Any, Union
|
||||||
import logging
|
import logging
|
||||||
import time # for measuring elapsed time
|
import time # for measuring elapsed time
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
"""
|
||||||
|
NOTE: This vector database integration is community-supported and maintained on a best-effort basis.
|
||||||
|
"""
|
||||||
|
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
import logging
|
import logging
|
||||||
from urllib.parse import urlparse
|
from urllib.parse import urlparse
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
"""
|
||||||
|
NOTE: This vector database integration is community-supported and maintained on a best-effort basis.
|
||||||
|
"""
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
from typing import Optional, Tuple, List, Dict, Any
|
from typing import Optional, Tuple, List, Dict, Any
|
||||||
from urllib.parse import urlparse
|
from urllib.parse import urlparse
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
"""
|
||||||
|
NOTE: This vector database integration is community-supported and maintained on a best-effort basis.
|
||||||
|
"""
|
||||||
|
|
||||||
from open_webui.retrieval.vector.utils import process_metadata
|
from open_webui.retrieval.vector.utils import process_metadata
|
||||||
from open_webui.retrieval.vector.main import (
|
from open_webui.retrieval.vector.main import (
|
||||||
VectorDBBase,
|
VectorDBBase,
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
"""
|
||||||
|
NOTE: This vector database integration is community-supported and maintained on a best-effort basis.
|
||||||
|
"""
|
||||||
|
|
||||||
import weaviate
|
import weaviate
|
||||||
import re
|
import re
|
||||||
import uuid
|
import uuid
|
||||||
|
|||||||
Reference in New Issue
Block a user