Package com.mypurecloud.sdk.v2.model
Class KnowledgeDocumentChunkRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.KnowledgeDocumentChunkRequest
- All Implemented Interfaces:
Serializable
KnowledgeDocumentChunkRequest
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of the query that initiates the chunks search. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplication(KnowledgeSearchClientApplication application) The client application details from which chunks request was sent.confidenceThreshold(Float confidenceThreshold) The confidence threshold for the chunk results.conversationContext(KnowledgeConversationContext conversationContext) Conversation context information if the chunks search is initiated in the context of a conversation.booleanfilter(DocumentQuery filter) Filter for the document chunks.getQuery()inthashCode()includeDraftDocuments(Boolean includeDraftDocuments) Indicates whether the chunk results would also include draft documents.pageNumber(Integer pageNumber) Page number of the returned results.Page size of the returned results.preprocessQuery(Boolean preprocessQuery) Indicates whether the chunks search query should be preprocessed.Query to search chunks in the knowledge base.The type of the query that initiates the chunks search.voidsetApplication(KnowledgeSearchClientApplication application) voidsetConfidenceThreshold(Float confidenceThreshold) voidsetConversationContext(KnowledgeConversationContext conversationContext) voidsetFilter(DocumentQuery filter) voidsetIncludeDraftDocuments(Boolean includeDraftDocuments) voidsetPageNumber(Integer pageNumber) voidsetPageSize(Integer pageSize) voidsetPreprocessQuery(Boolean preprocessQuery) voidvoidtoString()
-
Constructor Details
-
KnowledgeDocumentChunkRequest
public KnowledgeDocumentChunkRequest() -
KnowledgeDocumentChunkRequest
-
-
Method Details
-
query
Query to search chunks in the knowledge base. -
getQuery
-
setQuery
-
pageSize
Page size of the returned results. -
getPageSize
-
setPageSize
-
pageNumber
Page number of the returned results. -
getPageNumber
-
setPageNumber
-
filter
Filter for the document chunks. -
getFilter
-
setFilter
-
queryType
public KnowledgeDocumentChunkRequest queryType(KnowledgeDocumentChunkRequest.QueryTypeEnum queryType) The type of the query that initiates the chunks search. -
getQueryType
-
setQueryType
-
preprocessQuery
Indicates whether the chunks search query should be preprocessed. -
getPreprocessQuery
-
setPreprocessQuery
-
includeDraftDocuments
Indicates whether the chunk results would also include draft documents. -
getIncludeDraftDocuments
-
setIncludeDraftDocuments
-
application
The client application details from which chunks request was sent. -
getApplication
-
setApplication
-
conversationContext
public KnowledgeDocumentChunkRequest conversationContext(KnowledgeConversationContext conversationContext) Conversation context information if the chunks search is initiated in the context of a conversation. -
getConversationContext
-
setConversationContext
-
confidenceThreshold
The confidence threshold for the chunk results. If applied, the returned results will have an equal or higher confidence than the threshold. The value should be between 0 to 1. -
getConfidenceThreshold
-
setConfidenceThreshold
-
equals
-
hashCode
public int hashCode() -
toString
-