Skip to content

Commit

Permalink
Merge branch 'develop-ai-limited-preview-3' into remove-message-feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
umaannamalai authored Mar 7, 2024
2 parents ce6c6b2 + 32b8cfd commit f88d76f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions newrelic/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2228,6 +2228,12 @@ def _process_module_builtin_defaults():
"instrument_langchain_vectorstore_similarity_search",
)

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

_process_module_definition(
"langchain_community.vectorstores.elastic_vector_search",
"newrelic.hooks.mlmodel_langchain",
Expand Down Expand Up @@ -2270,6 +2276,12 @@ def _process_module_builtin_defaults():
"instrument_langchain_vectorstore_similarity_search",
)

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

_process_module_definition(
"langchain_community.vectorstores.kdbai",
"newrelic.hooks.mlmodel_langchain",
Expand Down
2 changes: 2 additions & 0 deletions newrelic/hooks/mlmodel_langchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"langchain_community.vectorstores.databricks_vector_search": "DatabricksVectorSearch",
"langchain_community.vectorstores.deeplake": "DeepLake",
"langchain_community.vectorstores.dingo": "Dingo",
"langchain_community.vectorstores.documentdb": "DocumentDBVectorSearch",
"langchain_community.vectorstores.elastic_vector_search": "ElasticVectorSearch",
# "langchain_community.vectorstores.elastic_vector_search": "ElasticKnnSearch", # Deprecated
"langchain_community.vectorstores.elasticsearch": "ElasticsearchStore",
Expand All @@ -55,6 +56,7 @@
"langchain_community.vectorstores.hanavector": "HanaDB",
"langchain_community.vectorstores.hippo": "Hippo",
"langchain_community.vectorstores.hologres": "Hologres",
"langchain_community.vectorstores.infinispanvs": "InfinispanVS",
"langchain_community.vectorstores.kdbai": "KDBAI",
"langchain_community.vectorstores.kinetica": "Kinetica",
"langchain_community.vectorstores.lancedb": "LanceDB",
Expand Down

0 comments on commit f88d76f

Please sign in to comment.