Skip to content

Commit db4da61

Browse files
committed
fixed sources references. set VectorStore as only option available for Semantic kernel
1 parent 1d3d6ea commit db4da61

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/backend/src/main/java/com/microsoft/openai/samples/rag/retrieval/semantickernel/AzureAISearchVectorStoreUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public static List<ContentSource> buildSources(List<DocumentRecord> memoryResult
139139
.stream()
140140
.map(result -> {
141141
return new ContentSource(
142-
result.getSourceFile(),
142+
result.getSourcePage(),
143143
result.getContent()
144144
);
145145
})

app/frontend/src/pages/chat/Chat.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,11 +254,11 @@ const Chat = () => {
254254
{
255255
key: Approaches.JAVA_SEMANTIC_KERNEL,
256256
text: "Java Semantic Kernel"
257-
},
257+
}/**,
258258
{
259259
key: Approaches.JAVA_SEMANTIC_KERNEL_PLANNER,
260260
text: "Java Semantic Kernel - Chains"
261-
},
261+
},*/
262262
];
263263

264264
return (

0 commit comments

Comments
 (0)