(fix): mongodb distribution name, azure ai search, and workflow trigger (#3900)
This commit is contained in:
@@ -8,6 +8,7 @@ on:
|
||||
- 'tests/**'
|
||||
- 'embedchain/**'
|
||||
- '.github/workflows/**'
|
||||
- 'pyproject.toml'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'mem0/**'
|
||||
@@ -30,6 +31,7 @@ jobs:
|
||||
- 'mem0/**'
|
||||
- 'tests/**'
|
||||
- '.github/workflows/**'
|
||||
- 'pyproject.toml'
|
||||
embedchain:
|
||||
- 'embedchain/**'
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ from mem0.vector_stores.base import VectorStoreBase
|
||||
logger = logging.getLogger(__name__)
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
|
||||
_DRIVER_METADATA = DriverInfo(name="Mem0", version=version("mem0"))
|
||||
_DRIVER_METADATA = DriverInfo(name="Mem0", version=version("mem0ai"))
|
||||
|
||||
class OutputData(BaseModel):
|
||||
id: Optional[str]
|
||||
|
||||
@@ -542,7 +542,6 @@ def test_search_basic(azure_ai_search_instance):
|
||||
# Check parameters
|
||||
assert len(kwargs["vector_queries"]) == 1
|
||||
assert kwargs["vector_queries"][0].vector == query_vector
|
||||
assert kwargs["vector_queries"][0].k_nearest_neighbors == 5
|
||||
assert kwargs["vector_queries"][0].fields == "vector"
|
||||
assert kwargs["filter"] is None # No filters
|
||||
assert kwargs["top"] == 5
|
||||
|
||||
Reference in New Issue
Block a user