How to connect Vectara and ServiceNow - Virtual Agent (chatbot)

Hello!
Can someone help me understand if it’s possible to connect Vectara and Service Now chatbot?

Context: I need to run a quick PoC using Virtual Agent from ServiceNow. We want employees in our stores to use this chatbot, so they can ask questions and receive answers that are in documents in Vectara.

(At the moment it’s not possible to activate the AI generative features in the ServiceNow developer instance).

I work for the HR department and my knowledge of tecnical terms is very low. :sweat_smile:
I followed a tutorial and I was able to configure a REST Message that connects the virtual agent to ChatGPT. This means, I can see the answer from ChatGPT inside ServiceNow chatbot, but this doesn’t answer my needs for this PoC

I was trying to navigate through Vectara documentation but I’m lost.
Can someone please tell me which information I need to use?

What I’m using:

Endpoint - https://api.vectara.io/v2/query
API - Created in the Index and Query API keys

HTTP method

HTTP Query Parameters
Content: I don’t know what to put here.
ChatGPT told me to put this: customer_id, corpus_key and “query”: “${query}”

Just to clarify, the experience I want is this:

  • User Interaction: An employee initiates a question in the Virtual Agent within the ServiceNow environment.
  • Query Processing: The Virtual Agent forwards this query to Vectara.
  • Information Retrieval and Summarization: Vectara searches the designated corpus, summarizes the response based on the contents of those documents.
  • Response Delivery: Vectara sends the summarized answer back to the Virtual Agent in ServiceNow.
  • Employee Response: The Virtual Agent displays the response to the employee, completing the interaction loop.

I appreciate any help I can get. :grin:

Hey @Joao_H_S - happy to help if I can
Perhaps we can setup a quick live call so you can show me your setup and we can go from there?