Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added pr-assets/Benchmark.pdf
Binary file not shown.
Binary file added pr-assets/Observe-Docs-Analysis.pdf
Binary file not shown.
Binary file added pr-assets/Scorecard-v4.pdf
Binary file not shown.
Binary file removed public/images/docs/observe/1.png
Binary file not shown.
Binary file removed public/images/docs/observe/2.png
Binary file not shown.
Binary file removed public/images/docs/observe/3.png
Binary file not shown.
Binary file removed public/images/docs/observe/4.png
Binary file not shown.
Binary file removed public/images/docs/observe/5.png
Binary file not shown.
Binary file removed public/images/docs/observe/5.webp
Binary file not shown.
Binary file added public/images/docs/observe/alerts-create.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/docs/observe/alerts-create.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/docs/observe/alerts-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/docs/observe/alerts-overview.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/docs/observe/evals-create.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/docs/observe/evals-create.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/docs/observe/evals-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/docs/observe/evals-overview.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/docs/observe/evals-span-tab.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/docs/observe/sessions-detail.png
Binary file added public/images/docs/observe/sessions-display.png
Binary file added public/images/docs/observe/sessions-filter.png
Binary file added public/images/docs/observe/sessions-overview.png
Binary file added public/images/docs/observe/users-date-range.png
Binary file added public/images/docs/observe/users-detail.png
Binary file added public/images/docs/observe/users-detail.webp
Binary file added public/images/docs/observe/users-display.png
Binary file added public/images/docs/observe/users-filter.png
Binary file added public/images/docs/observe/users-overview.png
Binary file added public/images/docs/observe/users-overview.webp
Binary file added public/images/docs/observe/voice-call-detail.png
Binary file added public/images/docs/observe/voice-create-form.png
Binary file added public/images/docs/observe/voice-create-form.webp
14 changes: 7 additions & 7 deletions src/components/Sidebar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,18 @@ const isApiTab = activeTab?.tab === 'API';

function inferApiMethod(title: string): { method: string; css: string } | null {
const t = title.toLowerCase();
if (/\b(delete|remove)\b/.test(t)) {
return { method: 'DELETE', css: 'api-method-delete' };
}
if (/\b(update|edit|apply|restore)\b/.test(t)) {
return { method: 'PATCH', css: 'api-method-patch' };
}
if (/\b(list|get|retrieve|health|find|export|progress|analytics|agreement|compare|stats|summary|voices|tts|aggregat\w*)\b/.test(t)) {
if (/\b(list|get|retrieve|health|find|export|progress|analytics|agreement|compare|stats|summary|voices|tts)\b/.test(t)) {
return { method: 'GET', css: 'api-method-get' };
}
if (/\b(create|add|generate|execute|submit|assign|bulk|complete|skip|release|pause|unpause|check|upload|start|duplicate|fetch|run|rerun|cancel|clone|merge)\b/.test(t)) {
return { method: 'POST', css: 'api-method-post' };
}
if (/\b(delete|remove)\b/.test(t)) {
return { method: 'DEL', css: 'api-method-delete' };
}
if (/\b(update|edit|apply|restore)\b/.test(t)) {
return { method: 'PATCH', css: 'api-method-patch' };
}
return null;
}
---
Expand Down
5 changes: 5 additions & 0 deletions src/components/docs/CodeGroup.astro
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ const id = `code-group-${Math.random().toString(36).slice(2, 9)}`;
</div>

<style is:global>
/* Before JS initializes, hide all but the first code block so a multi-language
group doesn't flash every language's code stacked together (FOUC). */
[data-code-group]:not([data-cgp-init]) .code-panels > *:not(:first-child) {
display: none;
}
/* Hide all code panel items; JS adds .cgp-active to show the selected one */
.code-group-panel {
display: none;
Expand Down
38 changes: 38 additions & 0 deletions src/components/docs/Mermaid.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
/**
* Mermaid diagram, rendered client-side from CDN.
* Usage in MDX: <Mermaid chart={`flowchart LR\n A --> B`} />
*
* The script is `is:inline` so Astro does not bundle it — the CDN module import
* then runs natively in the browser (matching how the rest of this repo loads
* third-party client scripts). The diagram source lives in the page, per the
* docs playbook. In the full monorepo, `pnpm add mermaid` and swap the CDN
* import for `import mermaid from 'mermaid'`.
*/
interface Props {
chart: string;
}
const { chart } = Astro.props;
---

<pre class="mermaid not-prose" style="background: transparent; text-align: center;">{chart}</pre>

<style is:global>
/* Center the rendered diagram inside its container. Mermaid outputs a
fixed-width block <svg>, which would otherwise sit flush left. */
pre.mermaid > svg {
display: block;
margin-inline: auto;
}
</style>

<script is:inline type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs';
mermaid.initialize({ startOnLoad: false, theme: 'dark', securityLevel: 'loose' });
const run = () => {
try { mermaid.run({ querySelector: 'pre.mermaid:not([data-processed="true"])' }); }
catch (err) { console.error('Mermaid render failed:', err); }
};
run();
document.addEventListener('astro:after-swap', run);
</script>
18 changes: 16 additions & 2 deletions src/lib/api-navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ export const apiNavigation: ApiNavGroup[] = [
"title": "Add columns to a scenario",
"href": "/docs/api/scenarios/addcolumns",
"method": "POST"
},
{
"title": "Add empty rows to a scenario",
"href": "/docs/api/scenarios/addemptyrowstodataset",
"method": "POST"
}
]
},
Expand Down Expand Up @@ -182,6 +187,11 @@ export const apiNavigation: ApiNavGroup[] = [
"href": "/docs/api/run-tests/executeruntest",
"method": "POST"
},
{
"title": "Update test run components",
"href": "/docs/api/run-tests/updatetestcomponents",
"method": "PATCH"
},
{
"title": "Get test executions",
"href": "/docs/api/run-tests/gettestexecutions",
Expand All @@ -192,6 +202,11 @@ export const apiNavigation: ApiNavGroup[] = [
"href": "/docs/api/run-tests/gettestscenarios",
"method": "GET"
},
{
"title": "Get call executions for a test run",
"href": "/docs/api/run-tests/getcallexecutions",
"method": "GET"
},
{
"title": "Get evaluation summary",
"href": "/docs/api/run-tests/getevalsummary",
Expand Down Expand Up @@ -279,8 +294,7 @@ export const apiNavigation: ApiNavGroup[] = [
{ "title": "Delete Eval Task", "href": "/docs/api/eval-tasks/delete-eval-task", "method": "DELETE" },
{ "title": "Bulk Delete Eval Tasks", "href": "/docs/api/eval-tasks/bulk-delete-eval-tasks", "method": "POST" },
{ "title": "Pause Eval Task", "href": "/docs/api/eval-tasks/pause-eval-task", "method": "POST" },
{ "title": "Unpause Eval Task", "href": "/docs/api/eval-tasks/unpause-eval-task", "method": "POST" },
{ "title": "Eval Task Aggregations", "href": "/docs/api/eval-tasks/eval-task-aggregations", "method": "GET" }
{ "title": "Unpause Eval Task", "href": "/docs/api/eval-tasks/unpause-eval-task", "method": "POST" }
]
},
{
Expand Down
Loading