Skip to main content
Version: Latest

GenSearchInput

description

Input parameters for GenSearch operation.

input GenSearchInput {
prompt: String
filters: SearchFilter
documents: [GenSearchDocumentInput!]
useWebSearch: Boolean
conversationId: String
}

Fields

GenSearchInput.prompt ● String scalar graph-ql-types

Input text or question to generate a response for.

GenSearchInput.filters ● SearchFilter input graph-ql-types

Optional filters to refine the documents searched. Supports filtering by companies, date range, document types, industries, countries, and more. Cannot be used with 'documents'.

GenSearchInput.documents ● [GenSearchDocumentInput!] list input graph-ql-types

Specific document IDs to use as context for answering the question. Cannot be used with 'filters'.

Enable web search for answer generation. Can be combined with 'filters'. Cannot be used with 'documents'.

GenSearchInput.conversationId ● String scalar graph-ql-types

Optional conversation ID to link this question as a follow-up within an existing conversation thread.

Member Of

genSearchAuto subscription ● genSearchFast subscription ● GenSearchMutation__auto mutation ● GenSearchMutation__deepResearch mutation ● GenSearchMutation__fast mutation ● GenSearchMutation__thinkLonger mutation ● genSearchThinkLonger subscription