Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release version 0.5.0 #77

Merged
merged 1 commit into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libs/astradb/langchain_astradb/graph_vectorstores.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
Sequence,
)

from langchain_core.documents import Document
from langchain_core.graph_vectorstores.base import (
from langchain_community.graph_vectorstores.base import (
GraphVectorStore,
Node,
)
from langchain_core.documents import Document
from typing_extensions import override

from langchain_astradb import AstraDBVectorStore
Expand Down
4 changes: 2 additions & 2 deletions libs/astradb/langchain_astradb/utils/astradb.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def __init__(
self.database = self.data_api_client.get_database(
api_endpoint=self.api_endpoint,
token=self.token,
namespace=self.namespace,
keyspace=self.namespace,
)
self.async_database = self.database.to_async()

Expand Down Expand Up @@ -296,7 +296,7 @@ def __init__(
try:
self.database.create_collection(
name=collection_name,
dimension=embedding_dimension,
dimension=embedding_dimension, # type: ignore[arg-type]
metric=metric,
indexing=requested_indexing_policy,
# Used for enabling $vectorize on the collection
Expand Down
Loading
Loading