Skip to content

Commit

Permalink
Update and rename API to implement RAG pattern in IBM watsonx ai usin…
Browse files Browse the repository at this point in the history
…g PineconeDB_instructions.md to API flow for RAG pattern implementation - Query a vector in Pinecone Vector Database using the embeddings generated by IBM watsonx ai and use the results to generate text using IBM watsonx ai_instructions.md
  • Loading branch information
neenapk authored Jan 31, 2025
1 parent 22937c2 commit fd366e3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
To refer to these instructions while editing the flow, open [the GitHub page](https://github.com/ot4i/app-connect-templates/blob/main/resources/markdown/API%20to%20implement%20RAG%20pattern%20in%20IBM%20watsonx%20ai%20using%20PineconeDB_instructions.md) (opens in a new window).
To refer to these instructions while editing the flow, open [the GitHub page](https://github.com/ot4i/app-connect-templates/blob/main/resources/markdown/API%20flow%20for%20RAG%20pattern%20implementation%20-%20Query%20a%20vector%20in%20Pinecone%20Vector%20Database%20using%20the%20embeddings%20genereated%20by%20IBM%20watsonx%20ai%20and%20use%20the%20results%20to%20generate%20text%20using%20IBM%20watsonx%20ai_instructions.md) (opens in a new window).

This API takes a question and IBM WatsonX AI uses this question to generate embeddings.These embeddings are used by pineconeDB to do a query. The results generated from this can be used as a prompt to IBM Watsonx AI to get answer to the question.

## Using the template

1. Click **Use this template** to start using the template.
1. Click **Operations**, then **Edit flow** for the _Create vectors_ operation.
1. Click on the **IBM Watsonx AI** node, and if you're not already connected, connect to your [IBM Watsonx AI account](https://www.ibm.com/docs/en/app-connect/saas?topic=apps-watsonxai).
1. Click on the **IBM Watsonx AI** node, and if you're not already connected, connect to your [IBM watsonx ai account](https://www.ibm.com/docs/en/app-connect/saas?topic=apps-watsonxai).
1. Click on the **PineconeDB** node , and if you're not already connected, connect to your [PineconeDB account]().
1. Click **Done**.
1. To start the flow, in the banner click **Start flow**.
Expand Down

0 comments on commit fd366e3

Please sign in to comment.