This commit is contained in:
Eugene Yurtsev
2024-07-17 17:05:29 -04:00
parent ab72ad9e36
commit 1a41d27b1d
3 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
from __future__ import annotations
import abc
import time
from abc import ABC, abstractmethod
from typing import (
Any,
@@ -10,7 +11,6 @@ from typing import (
Sequence,
)
import time
from typing_extensions import TypedDict
from langchain_core._api import beta

View File

@@ -1,9 +1,9 @@
import uuid
from typing import Dict, Optional, Sequence, Any, List
from typing import Any, Dict, List, Optional, Sequence
from langchain_core.documents import Document
from langchain_core.indexing import UpsertResponse
from langchain_core.indexing.base import DocumentIndexer, DeleteResponse
from langchain_core.indexing.base import DeleteResponse, DocumentIndexer
class InMemoryIndexer(DocumentIndexer):

View File

@@ -3,13 +3,13 @@
from typing import Generator
import pytest
from langchain_core.indexing import DocumentIndexer
from langchain_core.indexing.in_memory import InMemoryIndexer
from langchain_standard_tests.integration_tests.indexer import (
BaseDocumentIndexerTestSuite,
)
from langchain_core.indexing import DocumentIndexer
from langchain_core.indexing.in_memory import InMemoryIndexer
class TestDocumentIndexerTestSuite(BaseDocumentIndexerTestSuite):
@pytest.fixture()