Package com.mypurecloud.sdk.v2.model
Class KnowledgeDocumentChunkResponse
java.lang.Object
com.mypurecloud.sdk.v2.model.KnowledgeDocumentChunkResponse
- All Implemented Interfaces:
Serializable
KnowledgeDocumentChunkResponse
- 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 search happened.confidenceThreshold(Float confidenceThreshold) The confidence threshold for the chunk results.conversationContext(KnowledgeConversationContextResponse conversationContext) Conversation context information if the chunks search is initiated in the context of a conversation.booleangetQuery()getTotal()inthashCode()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.results(List<DocumentChunkBlock> results) Chunks matching the search query.voidsetApplication(KnowledgeSearchClientApplication application) voidsetConfidenceThreshold(Float confidenceThreshold) voidsetConversationContext(KnowledgeConversationContextResponse conversationContext) voidsetPageNumber(Integer pageNumber) voidsetPageSize(Integer pageSize) voidsetPreprocessQuery(Boolean preprocessQuery) voidvoidvoidsetResults(List<DocumentChunkBlock> results) toString()
-
Constructor Details
-
KnowledgeDocumentChunkResponse
public KnowledgeDocumentChunkResponse() -
KnowledgeDocumentChunkResponse
-
-
Method Details
-
query
Query to search chunks in the knowledge base. -
getQuery
-
setQuery
-
getTotal
-
getPageCount
-
pageSize
Page size of the returned results. -
getPageSize
-
setPageSize
-
pageNumber
Page number of the returned results. -
getPageNumber
-
setPageNumber
-
queryType
public KnowledgeDocumentChunkResponse queryType(KnowledgeDocumentChunkResponse.QueryTypeEnum queryType) The type of the query that initiates the chunks search. -
getQueryType
-
setQueryType
-
getSearchId
-
preprocessQuery
Indicates whether the chunks search query should be preprocessed. -
getPreprocessQuery
-
setPreprocessQuery
-
confidenceThreshold
The confidence threshold for the chunk results. If applied, the returned results will have an equal or higher chunk confidence than the threshold. -
getConfidenceThreshold
-
setConfidenceThreshold
-
results
Chunks matching the search query. -
getResults
-
setResults
-
application
The client application details from which chunks search happened. -
getApplication
-
setApplication
-
conversationContext
public KnowledgeDocumentChunkResponse conversationContext(KnowledgeConversationContextResponse conversationContext) Conversation context information if the chunks search is initiated in the context of a conversation. -
getConversationContext
-
setConversationContext
-
equals
-
hashCode
public int hashCode() -
toString
-