mirror of
https://github.com/hwchase17/langchain.git
synced 2026-01-24 05:50:18 +00:00
qxqx
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user