mirror of
https://github.com/Mintplex-Labs/vector-admin.git
synced 2026-07-19 21:23:38 -04:00
change copy for functionality
This commit is contained in:
@@ -205,11 +205,17 @@ function ragTestingEndpoints(app) {
|
||||
return;
|
||||
}
|
||||
|
||||
const test = await RagTest.get({ id: Number(testId) }, { id: true });
|
||||
if (!test) {
|
||||
const test = await RagTest.get(
|
||||
{ id: Number(testId) },
|
||||
{ id: true, enabled: true }
|
||||
);
|
||||
if (!test || !test.enabled) {
|
||||
response
|
||||
.status(200)
|
||||
.json({ success: false, error: "No test found for that id." });
|
||||
.json({
|
||||
success: false,
|
||||
error: "No enabled test found for that id.",
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -27,7 +27,6 @@ async function createRagTest(user, request, response) {
|
||||
return;
|
||||
}
|
||||
|
||||
console.log(workspaceId);
|
||||
const workspace = await OrganizationWorkspace.get({
|
||||
id: Number(workspaceId),
|
||||
organization_id: organization.id,
|
||||
|
||||
@@ -66,10 +66,15 @@ export default function RAGDriftTesting() {
|
||||
<div className="flex items-start justify-between">
|
||||
<div className="mb-6">
|
||||
<h4 className="text-3xl font-semibold text-black">
|
||||
Retrieval Augmented Generation (RAG) testing
|
||||
RAG Context drift testing
|
||||
</h4>
|
||||
<p className="mt-2 w-3/4 text-gray-600">
|
||||
<b>What is RAG testing?</b>
|
||||
<b>What is "Context drift"?</b>
|
||||
<br />
|
||||
<i>"Context Drift"</i> is what happens when your vector database
|
||||
changes over time and what was a good LLM response suddenly
|
||||
changes and gives vastly different answers.
|
||||
<br />
|
||||
<br />
|
||||
Often, you depend on high quality and current context snippets to
|
||||
answer user prompts in LLM chatbot applications. As your
|
||||
@@ -77,7 +82,7 @@ export default function RAGDriftTesting() {
|
||||
documents being referenced will change. This can often lead to
|
||||
vastly different LLM responses for a fixed prompt. This tool will
|
||||
proactively alert you that deviations have occurred for a fixed
|
||||
prompt.
|
||||
prompt so you can catch them quickly.
|
||||
<br />
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -20,8 +20,8 @@ export default function ToolsList({ organization }: { organization: any }) {
|
||||
|
||||
<div className="px-6">
|
||||
<ToolItem
|
||||
title="Retrieval Drift Testing & Alerts"
|
||||
description="Catch context drift in production before it reaches your customers as your vector store changes over time."
|
||||
title="Automatic context drift detection"
|
||||
description={`Catch "context drift" by detecting changes in your vector databases similarity searches before they cause problems.`}
|
||||
available={true}
|
||||
linkTo={paths.tools.ragTests(organization)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user