Skip to content

Commit

Permalink
Merge pull request #1278 from newrelic/add-tablestore-vectorstore
Browse files Browse the repository at this point in the history
Add Tablestore VectorStore
  • Loading branch information
hmstepanek authored Dec 28, 2024
2 parents 25e1f1e + 7dc8c24 commit 4c06d26
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions newrelic/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2719,6 +2719,12 @@ def _process_module_builtin_defaults():
"instrument_langchain_vectorstore_similarity_search",
)

_process_module_definition(
"langchain_community.vectorstores.tablestore",
"newrelic.hooks.mlmodel_langchain",
"instrument_langchain_vectorstore_similarity_search",
)

_process_module_definition(
"langchain_core.tools",
"newrelic.hooks.mlmodel_langchain",
Expand Down
1 change: 1 addition & 0 deletions newrelic/hooks/mlmodel_langchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
"langchain_community.vectorstores.starrocks": "StarRocks",
"langchain_community.vectorstores.supabase": "SupabaseVectorStore",
"langchain_community.vectorstores.surrealdb": "SurrealDBStore",
"langchain_community.vectorstores.tablestore": "TablestoreVectorStore",
"langchain_community.vectorstores.tair": "Tair",
"langchain_community.vectorstores.tencentvectordb": "TencentVectorDB",
"langchain_community.vectorstores.tidb_vector": "TiDBVectorStore",
Expand Down

0 comments on commit 4c06d26

Please sign in to comment.