🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
import { api } from "@/src/utils/api";
type UsePeekEvalTemplateDataProps = {
projectId: string;
templateId?: string;
};
export const usePeekEvalTemplateData = ({
projectId,
templateId,
}: UsePeekEvalTemplateDataProps) => {
return api.evals.templateById.useQuery(
{
id: templateId as string,
projectId,
},
{
enabled: !!templateId,
},
);
};