Skip to content

Commit 7b3ea6d

Browse files
committed
Change Filter method
Signed-off-by: David Weik <[email protected]>
1 parent d422fcf commit 7b3ea6d

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## SAS Portal Framework for SAS Viya v1.3.0
4+
5+
- Add: RAG Builder object
6+
- Change: The Prompt Builder object now filters for projects with the Prompt-Engineering tag
7+
38
## SAS Portal Framework for SAS Viya v1.2.2
49

510
- Fix: Prompt Builder now prevents the creation of scoring files with invalid Python package names

js/objects/add-prompt-builder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ async function addPromptBuilderObject(promptBuilderObject, paneID, promptBuilder
5353
promptBuilderProjectSelectorItem.innerHTML = `${promptBuilderInterfaceText?.projectSelect}`;
5454
promptBuilderProjectSelectorDropdown.append(promptBuilderProjectSelectorItem);
5555
// Get all projects in the specified repostiory
56-
let existingProjects = await getModelProjects(VIYA, `and(ne(id,'${promptBuilderObject?.llmProjectID}'),eq(repositoryId,'${promptBuilderObject?.modelRepositoryID}'))`);
56+
let existingProjects = await getModelProjects(VIYA, `contains(tags,'Prompt-Engineering')`);
5757
// Add the projects to the dropdown
5858
for (const existingProject in existingProjects) {
5959
let projectMod = document.createElement('option');

js/objects/add-rag-builder-object.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
* @returns a rag builder object
88
*/
99
async function addRAGBuilderObject(ragBuilderObject, paneID, ragBuilderInterfaceText) {
10-
10+
1111
}

0 commit comments

Comments
 (0)