Skip to content

Commit 7dc8c24

Browse files
committed
Add Tablestore vectorstore to list
1 parent 25e1f1e commit 7dc8c24

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

newrelic/config.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2719,6 +2719,12 @@ def _process_module_builtin_defaults():
27192719
"instrument_langchain_vectorstore_similarity_search",
27202720
)
27212721

2722+
_process_module_definition(
2723+
"langchain_community.vectorstores.tablestore",
2724+
"newrelic.hooks.mlmodel_langchain",
2725+
"instrument_langchain_vectorstore_similarity_search",
2726+
)
2727+
27222728
_process_module_definition(
27232729
"langchain_core.tools",
27242730
"newrelic.hooks.mlmodel_langchain",

newrelic/hooks/mlmodel_langchain.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105
"langchain_community.vectorstores.starrocks": "StarRocks",
106106
"langchain_community.vectorstores.supabase": "SupabaseVectorStore",
107107
"langchain_community.vectorstores.surrealdb": "SurrealDBStore",
108+
"langchain_community.vectorstores.tablestore": "TablestoreVectorStore",
108109
"langchain_community.vectorstores.tair": "Tair",
109110
"langchain_community.vectorstores.tencentvectordb": "TencentVectorDB",
110111
"langchain_community.vectorstores.tidb_vector": "TiDBVectorStore",

0 commit comments

Comments
 (0)