TechnologyMarch 26, 2024

Microsoft and DataStax Simplify Building AI Agents with Legacy Apps and Data

Announcing a new integration that enables Astra DB to function as a vector store within Microsoft’s Semantic Kernel app orchestration framework.
Greg Stachnick
Greg StachnickProduct, DataStax
Microsoft and DataStax Simplify Building AI Agents with Legacy Apps and Data
# import Astra DB connector
import semantic_kernel as sk
from semantic_kernel.connectors.memory.astradb import AstraDBMemoryStore

# create Astra memory store
store = AstraDBMemoryStore(ASTRA_DB_TOKEN, ASTRA_DB_ID, ASTRA_REGION, KEYSPACE, EMBEDDING_DIMENSION, SIMILARITY)

#register Astra memory in Semantic Kernel Memory
memory = SemanticTextMemory(storage=store, embeddings_generator=kernel.get_service("text_embedding"))
Discover more
Retrieval-augmented generationVector Search
Share

One-stop Data API for Production GenAI

Astra DB gives JavaScript developers a complete data API and out-of-the-box integrations that make it easier to build production RAG apps with high relevancy and low latency.