Skip to main content

Ask a question

Ask a question against an Ahoy Data Intelligence project and return an answer.

API documentation: https://www.ahoyams.com/marketplace/cbe0812f-2def-46ec-a73c-788f97ff2c2a#description/introduction

Application

  • Ahoy Data Intelligence

Inputs (what you have)

NameDescriptionData TypeRequired?Example
Project nameName of the Ahoy Data Intelligence project to queryText (Short)YesWrk Product Knowledge
QuestionQuestion or request to answer using the selected project's knowledgeText (Long)YesWhich case studies apply to accounts payable automation?
Conversation modeWhether to start a new conversation or continue an existing conversation. Defaults to New conversationChoice listNoNew conversation
Conversation IDConversation identifier from an earlier run. Required when Conversation mode is Continue conversationText (Short)Conditionalthread_abc
InstructionsOptional guidance for how the answer should be written, such as tone, length, or focus. Provide it again when continuing a conversation if the same guidance should applyText (Long)NoAnswer concisely
Use web searchWhether to use web search in addition to the selected project's knowledge. Leave False to keep the answer grounded only in the project. Defaults to FalseTrue/FalseNofalse

Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data Library section. These variables in the Data Library section are the outputs of previous Wrk Actions in the Wrkflow.

Outputs (what you get)

NameDescriptionData TypeRequired?Example
AnswerAnswer returned for the questionText (Long)Yes
Conversation IDIdentifier for the conversation, when available. Use it with Conversation mode = Continue conversation to continue the same conversationText (Short)Nothread_abc
CitationsSources or citations returned with the answer, when availableText (Long)No
Raw responseAdditional response details that are not mapped to the other outputsText (Long)No

Outcomes

NameDescription
SuccessThis status is selected if the job has successfully completed.

Requirements

  • N/A