public void test_rag_retrieval() throws GraphStateException {
DashScopeApi dashScopeApi = DashScopeApi.builder().apiKey(System.getenv("AI_DASHSCOPE_API_KEY")).build();
DashScopeDocumentRetriever documentRetriever = new DashScopeDocumentRetriever(dashScopeApi, DashScopeDocumentRetrieverOptions.builder()
.withIndexName("面试解析生成")
.withRerankMinScore(0.6f)
.withEnableRewrite(false)
List<Document> retrieve = documentRetriever.retrieve(new Query("sql的更新流程"));
for (Document document : retrieve) {
logger.info(document.getText());