# VectorDBTool Missing for ML Agent

**URL:** <https://forum.opensearch.org/t/vectordbtool-missing-for-ml-agent/23298>\
**Category:** Machine Learning\
**Created:** [February 2, 2025, 9:16pm UTC](https://forum.opensearch.org/t/vectordbtool-missing-for-ml-agent/23298 "2025-02-02T21:16:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fredclivet](https://avatars.discourse-cdn.com/v4/letter/f/e9a140/32.png) [@fredclivet](https://forum.opensearch.org/u/fredclivet)\
**Post date:** [February 2, 2025, 9:16pm UTC](https://forum.opensearch.org/t/vectordbtool-missing-for-ml-agent/23298/1 "2025-02-02T21:16:24Z")

</div>

**Versions** (relevant - OpenSearch/Dashboard/Server OS/Browser):  
Opensearch v2.16

**Describe the issue** :  
When attempting the documented setup for the RAG chatbot with conversational agent, I cannot progress further past the agent setup and test. Agent creation using VectorDBTool does not error however when moving to the testing of the agent it errors:

“{"error":{"reason":"Invalid Request","details":"Tool not found: VectorDBTool","type":"IllegalArgumentException"},"status":400}”

Documentation being followed: [RAG chatbot with a conversational flow agent - OpenSearch Documentation](https://opensearch.org/docs/latest/ml-commons-plugin/tutorials/rag-conversational-agent/)

**Configuration** :  
I am running off of a single node, with the following plugins installed:  
node-1 opensearch-alerting 2.16.0.0  
node-1 opensearch-anomaly-detection 2.16.0.0  
node-1 opensearch-asynchronous-search 2.16.0.0  
node-1 opensearch-cross-cluster-replication 2.16.0.0  
node-1 opensearch-geospatial 2.16.0.0  
node-1 opensearch-index-management 2.16.0.0  
node-1 opensearch-job-scheduler 2.16.0.0  
node-1 opensearch-knn 2.16.0.0  
node-1 opensearch-ml 2.16.0.0  
node-1 opensearch-neural-search 2.16.0.0  
node-1 opensearch-notifications 2.16.0.0  
node-1 opensearch-notifications-core 2.16.0.0  
node-1 opensearch-observability 2.16.0.0  
node-1 opensearch-performance-analyzer 2.16.0.0  
node-1 opensearch-reports-scheduler 2.16.0.0  
node-1 opensearch-security 2.16.0.0  
node-1 opensearch-security-analytics 2.16.0.0  
node-1 opensearch-sql 2.16.0.0

I am self hosting an LLM via Ollama for testing, and I can confirm the connection to this works as I have also setup a ml model and can use the via dev tools without issues.

I have attempted to uninstall the ml plugin via the opensearch-plugin module on the server then reinstalling via: `opensearch-plugin install https://repo1.maven.org/maven2/org/opensearch/plugin/opensearch-ml-plugin/2.16.0.0/opensearch-ml-plugin-2.16.0.0.zip`

**Relevant Logs or Screenshots** :

---

<div class="post-metadata">

**Author:** ![dhrubo](https://avatars.discourse-cdn.com/v4/letter/d/9e8a1a/32.png) [@dhrubo](https://forum.opensearch.org/u/dhrubo)\
**Post date:** [February 3, 2025, 1:22am UTC](https://forum.opensearch.org/t/vectordbtool-missing-for-ml-agent/23298/2 "2025-02-03T01:22:02Z")

</div>

> [@fredclivet](#):
>
> VectorDBTool

You don’t have skills plugin installed. Skills plugin has the [VectorDB Tool](https://github.com/opensearch-project/skills/blob/main/src/main/java/org/opensearch/agent/tools/VectorDBTool.java)

---

<div class="post-metadata">

**Author:** ![fredclivet](https://avatars.discourse-cdn.com/v4/letter/f/e9a140/32.png) [@fredclivet](https://forum.opensearch.org/u/fredclivet)\
**Post date:** [February 3, 2025, 1:27am UTC](https://forum.opensearch.org/t/vectordbtool-missing-for-ml-agent/23298/3 "2025-02-03T01:27:51Z")

</div>

Wow, it really was a skill issue…

That has done it for me! haha thank you!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/3/33547ea01a5b12dcca2958411d3edd97ae2ea8c1.png) [@system](https://forum.opensearch.org/u/system)\
**Post date:** [April 4, 2025, 1:28am UTC](https://forum.opensearch.org/t/vectordbtool-missing-for-ml-agent/23298/4 "2025-04-04T01:28:05Z")

</div>

Closed on April 4, 2025, 1:28am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
