Class RagApplicationParam.RagApplicationParamBuilder<C extends RagApplicationParam,B extends RagApplicationParam.RagApplicationParamBuilder<C,B>>
java.lang.Object
com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase.HalfDuplexParamBaseBuilder<C,B>
com.alibaba.dashscope.legacy_2x.app.ApplicationParam.ApplicationParamBuilder<C,B>
com.alibaba.dashscope.legacy_2x.app.RagApplicationParam.RagApplicationParamBuilder<C,B>
- Enclosing class:
- RagApplicationParam
public abstract static class RagApplicationParam.RagApplicationParamBuilder<C extends RagApplicationParam,B extends RagApplicationParam.RagApplicationParamBuilder<C,B>>
extends ApplicationParam.ApplicationParamBuilder<C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Cbuild()docReferenceType(String docReferenceType) the type of doc reference simple: simple format of doc retrival which not include index in response text but in doc reference list indexed: include both index in response text and doc reference listdocTagCodes(List<String> docTagCodes) Tag code list for doc retrivalprotected abstract Bself()toString()Methods inherited from class com.alibaba.dashscope.legacy_2x.app.ApplicationParam.ApplicationParamBuilder
appId, bizParams, cipServiceCodes, dialogRound, enablePremium, enableSystemTime, enableThinking, enableWebSearch, files, flowStreamMode, hasThoughts, history, images, incrementalOutput, mcpServers, memoryId, messages, modelId, prompt, ragOptions, resources, seed, sessionId, temperature, topK, topPMethods inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase.HalfDuplexParamBaseBuilder
apiKey, clearHeaders, clearParameters, enableEncrypt, header, headers, parameter, parameters, securityCheck, workspace
-
Constructor Details
-
RagApplicationParamBuilder
public RagApplicationParamBuilder()
-
-
Method Details
-
docTagCodes
Tag code list for doc retrival- Returns:
this.
-
docReferenceType
the type of doc reference simple: simple format of doc retrival which not include index in response text but in doc reference list indexed: include both index in response text and doc reference list- Returns:
this.
-
self
- Specified by:
selfin classApplicationParam.ApplicationParamBuilder<C extends RagApplicationParam,B extends RagApplicationParam.RagApplicationParamBuilder<C, B>>
-
build
- Specified by:
buildin classApplicationParam.ApplicationParamBuilder<C extends RagApplicationParam,B extends RagApplicationParam.RagApplicationParamBuilder<C, B>>
-
toString
- Overrides:
toStringin classApplicationParam.ApplicationParamBuilder<C extends RagApplicationParam,B extends RagApplicationParam.RagApplicationParamBuilder<C, B>>
-