We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
FloatVector
1 parent 0f90c3a commit 4d48fcbCopy full SHA for 4d48fcb
libs/community/langchain_community/vectorstores/cratedb/model.py
@@ -2,14 +2,9 @@
2
from typing import Any, List, Optional, Tuple
3
4
import sqlalchemy
5
-try:
6
- from sqlalchemy_cratedb import ObjectType
7
-except ImportError:
8
- from crate.client.sqlalchemy.types import ObjectType
+from sqlalchemy_cratedb import ObjectType, FloatVector
9
from sqlalchemy.orm import Session, declarative_base, relationship
10
11
-from langchain_community.vectorstores.cratedb.sqlalchemy_type import FloatVector
12
-
13
14
def generate_uuid() -> str:
15
return str(uuid.uuid4())
libs/community/langchain_community/vectorstores/cratedb/sqlalchemy_type.py
0 commit comments