Package com.axemble.vdoc.sdk.ai.content
Interface IRichAIConfiguration
public interface IRichAIConfiguration
Interface for rich AI configuration
-
Method Summary
Modifier and TypeMethodDescriptionGet the content sourceGet the content source parametersGet the dynamic filterGet the resource linked to this configurationintGet the maximum overlap size in tokensGet the maximum result countintGet the maximum segment size in tokensminScore()Get the minimum scorename()Get the nameGet the name for database usage
-
Method Details
-
maxSegmentSizeInTokens
int maxSegmentSizeInTokens()Get the maximum segment size in tokens- Returns:
- the maximum segment size in tokens
-
maxOverlapSizeInTokens
int maxOverlapSizeInTokens()Get the maximum overlap size in tokens- Returns:
- the maximum overlap size in tokens
-
contentSource
String contentSource()Get the content source- Returns:
- the content source
-
contentSourceParameters
Properties contentSourceParameters()Get the content source parameters- Returns:
- the content source parameters
-
maxResultCount
Integer maxResultCount()Get the maximum result count- Returns:
- maximum result count
-
minScore
Double minScore()Get the minimum score- Returns:
- minimum score
-
name
String name()Get the name- Returns:
- the name
-
nameForDB
String nameForDB()Get the name for database usage- Returns:
- the name for database
-
dynamicFilter
Boolean dynamicFilter()Get the dynamic filter- Returns:
- the dynamic filter
-
getResource
IResource getResource()Get the resource linked to this configuration- Returns:
- the resource
-