Package com.mypurecloud.sdk.v2.model
Class KnowledgeDocumentSearch
java.lang.Object
com.mypurecloud.sdk.v2.model.KnowledgeDocumentSearch
- All Implemented Interfaces:
Serializable
KnowledgeDocumentSearch
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of the query that initiates the search. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanswerGeneration(KnowledgeAnswerGenerationResponse answerGeneration) The results with AI-generated answer if the answerMode request property contains \"AnswerGeneration\".application(KnowledgeSearchClientApplication application) The client application details from which search happened.confidenceThreshold(Float confidenceThreshold) The confidence threshold for the search results.conversationContext(KnowledgeConversationContextResponse conversationContext) Conversation context information if the 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 search query should be preprocessed.Query to search content in the knowledge base.queryType(KnowledgeDocumentSearch.QueryTypeEnum queryType) The type of the query that initiates the search.voidsetAnswerGeneration(KnowledgeAnswerGenerationResponse answerGeneration) voidsetApplication(KnowledgeSearchClientApplication application) voidsetConfidenceThreshold(Float confidenceThreshold) voidsetConversationContext(KnowledgeConversationContextResponse conversationContext) voidsetPageNumber(Integer pageNumber) voidsetPageSize(Integer pageSize) voidsetPreprocessQuery(Boolean preprocessQuery) voidvoidtoString()
-
Constructor Details
-
KnowledgeDocumentSearch
public KnowledgeDocumentSearch() -
KnowledgeDocumentSearch
-
-
Method Details
-
query
Query to search content in the knowledge base. Maximum of 30 records per query can be fetched. -
getQuery
-
setQuery
-
pageSize
Page size of the returned results. -
getPageSize
-
setPageSize
-
pageNumber
Page number of the returned results. -
getPageNumber
-
setPageNumber
-
getSearchId
-
getTotal
-
getPageCount
-
queryType
The type of the query that initiates the search. -
getQueryType
-
setQueryType
-
getResults
-
application
The client application details from which search happened. -
getApplication
-
setApplication
-
conversationContext
public KnowledgeDocumentSearch conversationContext(KnowledgeConversationContextResponse conversationContext) Conversation context information if the search is initiated in the context of a conversation. -
getConversationContext
-
setConversationContext
-
confidenceThreshold
The confidence threshold for the search results. If applied, the returned results will have an equal or higher confidence than the threshold. -
getConfidenceThreshold
-
setConfidenceThreshold
-
answerGeneration
The results with AI-generated answer if the answerMode request property contains \"AnswerGeneration\". -
getAnswerGeneration
-
setAnswerGeneration
-
preprocessQuery
Indicates whether the search query should be preprocessed. -
getPreprocessQuery
-
setPreprocessQuery
-
equals
-
hashCode
public int hashCode() -
toString
-