Package com.axelor.ai.db
Class AiKnowledgeSource
java.lang.Object
com.axelor.db.Model
com.axelor.auth.db.AuditableModel
com.axelor.ai.db.AiKnowledgeSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAttrs()The fields the template reads, comma-separated; a dotted path reads through a relation (customer.name).getId()getModel()getType()inthashCode()voidvoidsetChunkCount(Integer chunkCount) voidsetErrorMessage(String errorMessage) voidvoidvoidvoidsetKnowledgeBase(AiKnowledgeBase knowledgeBase) voidsetLastIndexedAt(LocalDateTime lastIndexedAt) voidsetMetaFile(MetaFile metaFile) voidvoidsetStatus(AiKnowledgeSourceStatus status) voidsetTemplate(String template) voidsetType(AiKnowledgeSourceType type) toString()Methods inherited from class com.axelor.auth.db.AuditableModel
getCreatedBy, getCreatedOn, getUpdatedBy, getUpdatedOnMethods inherited from class com.axelor.db.Model
getArchived, getCid, getImportId, getVersion, isSelected, setArchived, setCid, setImportId, setSelected, setVersion
-
Constructor Details
-
AiKnowledgeSource
public AiKnowledgeSource()
-
-
Method Details
-
getId
-
setId
-
getType
-
setType
-
getMetaFile
-
setMetaFile
-
getModel
-
setModel
-
getFields
The fields the template reads, comma-separated; a dotted path reads through a relation (customer.name). Only these reach the template, which fails to index on any other, and a record's text is shown only to someone who may read all of them.- Returns:
- the property value
-
setFields
-
getTemplate
-
setTemplate
-
getFilter
-
setFilter
-
getStatus
-
setStatus
-
getChunkCount
-
setChunkCount
-
getLastIndexedAt
-
setLastIndexedAt
-
getErrorMessage
-
setErrorMessage
-
getKnowledgeBase
-
setKnowledgeBase
-
getAttrs
-
setAttrs
-
equals
-
hashCode
public int hashCode() -
toString
-