shuangli-z / chatbot-test

0 stars 0 forks source link

Add documentation #9

Open shuangli-z opened 2 hours ago

shuangli-z commented 2 hours ago

[Enquiry] How to get the documentation for this tool to do PPL from natural language and to do RAG

As i do not see any documentation on this tool

Thanks

RamDa

shuangli-z commented 2 hours ago

Thank you for your enquiry about the documentation for the PPL tool and the RAG tool in OpenSearch. The documentation for these tools can be found in the following search results:

The PPL tool documentation is available in search result 4. This tool allows you to translate natural language queries into Piped Processing Language (PPL) queries, which can then be executed to query data in OpenSearch. The documentation covers how to register and deploy a model for translating natural language to PPL, how to create a flow agent that uses the PPL tool, and how to run the agent to execute a PPL query.

The RAG tool documentation is available in search result 1. This tool performs retrieval-augmented generation, which uses a large language model (LLM) and supplements its knowledge by providing relevant OpenSearch documents along with the user's question. The documentation covers how to register and deploy the required text embedding model and LLM, how to create a flow agent that uses the RAG tool, and how to run the agent to generate a response to a user's question.

If you want to get more detailed information, please check the OpenSearch documentation at https://opensearch.org/docs/latest/search-plugins/sql/ppl/index/

shuangli-z commented 2 hours ago

https://github.com/opensearch-project/skills/issues/174