Skip to content

Commit

Permalink
Add SurrealDBStore to vectorstore list
Browse files Browse the repository at this point in the history
  • Loading branch information
lrafeei committed Dec 19, 2023
1 parent c62148f commit c4964aa
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 @@ -2378,6 +2378,12 @@ def _process_module_builtin_defaults():
"instrument_langchain_vectorstore_similarity_search",
)

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

_process_module_definition(
"langchain_community.vectorstores.tair",
"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 @@ -75,6 +75,7 @@
"langchain_community.vectorstores.sqlitevss": "SQLiteVSS",
"langchain_community.vectorstores.starrocks": "StarRocks",
"langchain_community.vectorstores.supabase": "SupabaseVectorStore",
"langchain_community.vectorstores.surrealdb": "SurrealDBStore",
"langchain_community.vectorstores.tair": "Tair",
"langchain_community.vectorstores.tencentvectordb": "TencentVectorDB",
"langchain_community.vectorstores.tigris": "Tigris",
Expand Down

0 comments on commit c4964aa

Please sign in to comment.