-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge in latest UI from python and update models to match
- Loading branch information
1 parent
c6936aa
commit 949717a
Showing
71 changed files
with
4,779 additions
and
1,887 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...ackend/src/main/java/com/microsoft/openai/samples/rag/chat/controller/ChatAppRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.microsoft.openai.samples.rag.chat.controller; | ||
|
||
import java.util.List; | ||
|
||
public record ChatAppRequest( | ||
List<ResponseMessage> messages, | ||
ChatAppRequestContext context, | ||
boolean stream, | ||
String approach | ||
) { | ||
} |
4 changes: 4 additions & 0 deletions
4
...src/main/java/com/microsoft/openai/samples/rag/chat/controller/ChatAppRequestContext.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package com.microsoft.openai.samples.rag.chat.controller; | ||
|
||
public record ChatAppRequestContext(ChatAppRequestOverrides overrides) { | ||
} |
20 changes: 20 additions & 0 deletions
20
...c/main/java/com/microsoft/openai/samples/rag/chat/controller/ChatAppRequestOverrides.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.microsoft.openai.samples.rag.chat.controller; | ||
|
||
import com.microsoft.openai.samples.rag.approaches.RetrievalMode; | ||
|
||
public record ChatAppRequestOverrides( | ||
RetrievalMode retrieval_mode, | ||
boolean semantic_ranker, | ||
boolean semantic_captions, | ||
String exclude_category, | ||
int top, | ||
float temperature, | ||
String prompt_template, | ||
String prompt_template_prefix, | ||
String prompt_template_suffix, | ||
boolean suggest_followup_questions, | ||
boolean use_oid_security_filter, | ||
boolean use_groups_security_filter, | ||
String semantic_kernel_mode | ||
) { | ||
} |
Oops, something went wrong.