qanary-component-helpers/get-question
This page is auto-generated from TSDoc output. Edit the source file, not this Markdown.
qanary-component-helpers/get-question
Section titled “qanary-component-helpers/get-question”- Package:
@leipzigtreechat/qanary-component-helpers - Source file:
packages/qanary-component-helpers/src/get-question.ts
Summary
Section titled “Summary”Fetches the raw question from given question url
Functions
Section titled “Functions”fetchRawQuestion
Section titled “fetchRawQuestion”function fetchRawQuestion(questionUrl: string, origin: string): voidFetches the raw question from given question url
Parameters
questionUrl(string): the url of the questionorigin(string): the origin for the question request, e.g the origin of qanary pipeline Defined at: line 11
getQuestion
Section titled “getQuestion”function getQuestion(message: IQanaryMessage, origin: string): Promise<string | null>Gets the question from the graph given in the message
Parameters
message(IQanaryMessage): the message containing the graph and endpointorigin(string): the origin for the question request, e.g the origin of qanary pipeline ReturnsPromise<string | null>: the asked question Defined at: line 33
In qanary-component-helpers
Section titled “In qanary-component-helpers”qanary-component-helpers/apiqanary-component-helpers/baseqanary-component-helpers/commonqanary-component-helpers/configurationqanary-component-helpers/create-annotationqanary-component-helpers/create-clarification-annotationqanary-component-helpers/generate-clarification-questionqanary-component-helpers/generate-object-retryqanary-component-helpers/get-domain-instancesqanary-component-helpers/get-question-uriqanary-component-helpers/get-questionqanary-component-helpers/indexqanary-component-helpers/interfaces/question-sparql-responseqanary-component-helpers/llm-providerqanary-component-helpers/message-operationsqanary-component-helpers/query-file-loaderqanary-component-helpers/query-sparqlqanary-component-helpers/utils/question-uri-query