Skip to content

Commit

Permalink
Enable evals
Browse files Browse the repository at this point in the history
  • Loading branch information
Samjoel3101 committed Aug 6, 2024
1 parent 5ce3d5b commit 5796967
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 29 deletions.
52 changes: 26 additions & 26 deletions web/src/components/layouts/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,32 +59,32 @@ export const ROUTES: Route[] = [
// },
],
},
// {
// name: "Evaluation",
// icon: Lightbulb,
// requires: "cloud",
// label: "Beta",
// children: [
// {
// name: "Templates",
// pathname: `/project/[projectId]/evals/templates`,
// requires: "cloud",
// rbacScope: "evalTemplate:read",
// },
// {
// name: "Configs",
// pathname: `/project/[projectId]/evals/configs`,
// requires: "cloud",
// rbacScope: "evalJob:read",
// },
// {
// name: "Log",
// pathname: `/project/[projectId]/evals/log`,
// requires: "cloud",
// rbacScope: "evalJobExecution:read",
// },
// ],
// },
{
name: "Evaluation",
icon: Lightbulb,
// requires: "cloud",
label: "Beta",
children: [
{
name: "Templates",
pathname: `/project/[projectId]/evals/templates`,
// requires: "cloud",
// rbacScope: "evalTemplate:read",
},
{
name: "Configs",
pathname: `/project/[projectId]/evals/configs`,
// requires: "cloud",
// rbacScope: "evalJob:read",
},
{
name: "Log",
pathname: `/project/[projectId]/evals/log`,
// requires: "cloud",
// rbacScope: "evalJobExecution:read",
},
],
},
// {
// name: "Users",
// pathname: `/project/[projectId]/users`,
Expand Down
2 changes: 1 addition & 1 deletion web/src/ee/features/evals/components/template-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const EvalTemplateForm = (props: {
<SelectTrigger className="text-primary ring-transparent focus:ring-0 focus:ring-offset-0">
<SelectValue
className="text-sm font-semibold text-primary"
placeholder={"Select a Langfuse managed template"}
placeholder={"Select a AI Planet managed template"}
/>
</SelectTrigger>
<SelectContent className="max-h-60 max-w-80">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export function CreateLLMApiKeyDialog() {
<FormItem>
<FormLabel>Provider name</FormLabel>
<FormDescription>
Name to identify the key within Langfuse.
Name to identify the key within AI Planet.
</FormDescription>
<FormControl>
<Input {...field} placeholder="OpenAI" />
Expand Down Expand Up @@ -284,7 +284,7 @@ export function CreateLLMApiKeyDialog() {
<FormLabel>Enable default models</FormLabel>
<FormDescription>
Default models for the selected adapter will be
available in Langfuse features.
available in AI Planet features.
</FormDescription>
{currentAdapter === LLMAdapter.Azure && (
<FormDescription className="text-yellow-700">
Expand Down

0 comments on commit 5796967

Please sign in to comment.