类的使用
io.agentscope.core.rag.model.RetrieveConfig
使用RetrieveConfig的程序包
-
io.agentscope.core中RetrieveConfig的使用
参数类型为RetrieveConfig的io.agentscope.core中的方法修饰符和类型方法说明ReActAgent.Builder.retrieveConfig(RetrieveConfig config) Sets the retrieve configuration for RAG. -
io.agentscope.core.rag中RetrieveConfig的使用
修饰符和类型方法说明GenericRAGHook.getDefaultConfig()Gets the default retrieval configuration.KnowledgeRetrievalTools.getDefaultConfig()Gets the default retrieval configuration.参数类型为RetrieveConfig的io.agentscope.core.rag中的方法修饰符和类型方法说明Knowledge.retrieve(String query, RetrieveConfig config) Retrieves relevant documents based on a query.参数类型为RetrieveConfig的io.agentscope.core.rag中的构造器限定符构造器说明GenericRAGHook(Knowledge knowledge, RetrieveConfig defaultConfig) Creates a GenericRAGHook with custom configuration.KnowledgeRetrievalTools(Knowledge knowledge, RetrieveConfig defaultConfig) Creates a new KnowledgeRetrievalTools instance. -
io.agentscope.core.rag.model中RetrieveConfig的使用