Skip to content

Commit 0449a86

Browse files
Merge branch 'main' into diego/13616/align-laml-vs-cxml-docs
2 parents 1509379 + 6de6477 commit 0449a86

File tree

112 files changed

+1619
-88
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+1619
-88
lines changed

api/signalwire-rest/space-api/_spec_.yaml

+4-18
Original file line numberDiff line numberDiff line change
@@ -7008,26 +7008,9 @@ paths:
70087008
70097009
#### Permissions
70107010
The API token must include the following scopes: _Voice_.
7011+
70117012
tags:
70127013
- SIP Endpoints
7013-
parameters:
7014-
- name: filter_username
7015-
in: query
7016-
description: >-
7017-
String representing the username portion of the endpoint. Will
7018-
return all SIP Endpoints containing this value as a substring.
7019-
required: false
7020-
schema:
7021-
type: string
7022-
- name: filter_caller_id
7023-
in: query
7024-
description: >-
7025-
Friendly Caller ID used as the `CNAM` when dialing a phone number or
7026-
the `From` when dialing another SIP Endpoint. Will return all SIP
7027-
Endpoints containing this value as a substring.
7028-
required: false
7029-
schema:
7030-
type: string
70317014
responses:
70327015
'200':
70337016
description: OK
@@ -7303,6 +7286,7 @@ paths:
73037286
73047287
#### Permissions
73057288
The API token must include the following scopes: _Voice_.
7289+
73067290
tags:
73077291
- SIP Endpoints
73087292
requestBody:
@@ -7798,6 +7782,7 @@ paths:
77987782
77997783
#### Permissions
78007784
The API token must include the following scopes: _Voice_.
7785+
78017786
tags:
78027787
- SIP Endpoints
78037788
parameters:
@@ -8055,6 +8040,7 @@ paths:
80558040
80568041
#### Permissions
80578042
The API token must include the following scopes: _Voice_.
8043+
80588044
tags:
80598045
- SIP Endpoints
80608046
parameters:

config/presets.ts

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ const presets: PresetConfig[] = [
3434
[require("../plugins/remark-plugin-a11y-checker"), { stopOnError: false }],
3535
[require("../plugins/remark-plugin-image-to-figure"), {}],
3636
],
37+
tags: 'tags.yml',
38+
onInlineTags: 'throw'
3739
},
3840
blog: {
3941
blogSidebarCount: "ALL",

config/typesense.ts

+9-5
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@
77
* Typesense technical reference: https://typesense.org/docs/0.24.0/api/search.html#search-parameters
88
*/
99

10-
import type { ThemeConfig } from 'docusaurus-theme-search-typesense';
11-
import type { ConfigurationOptions } from 'typesense/lib/Typesense/Configuration';
12-
import type { SearchParams } from 'typesense/lib/Typesense/Documents';
10+
import dotenv from "dotenv";
11+
import type { ThemeConfig } from "docusaurus-theme-search-typesense";
12+
import type { ConfigurationOptions } from "typesense/lib/Typesense/Configuration";
13+
import type { SearchParams } from "typesense/lib/Typesense/Documents";
1314

14-
const config: NonNullable<ThemeConfig['typesense']> = {
15+
// Load environment variables
16+
dotenv.config();
17+
18+
const config: NonNullable<ThemeConfig["typesense"]> = {
1519
typesenseCollectionName: process.env.TYPESENSE_COLLECTION_NAME ?? "placeholder",
1620

1721
typesenseServerConfig: {
@@ -31,4 +35,4 @@ const config: NonNullable<ThemeConfig['typesense']> = {
3135
searchPagePath: false,
3236
};
3337

34-
export default config;
38+
export default config;
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
label: Prompt Object Model (POM)

docs/home/calling/ai/pom/_schema.mdx

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
```json
2+
{
3+
"$schema": "https://json-schema.org/draft-07/schema",
4+
"$id": "https://example.com/pom.schema.json",
5+
"title": "Prompt Object Model",
6+
"type": "array",
7+
"items": { "$ref": "#/$defs/section" },
8+
"$defs": {
9+
"section": {
10+
"type": "object",
11+
"properties": {
12+
"title": { "type": "string" },
13+
"body": { "type": "string" },
14+
"bullets": {
15+
"type": "array",
16+
"items": { "type": "string" }
17+
},
18+
"subsections": {
19+
"type": "array",
20+
"items": { "$ref": "#/$defs/section" }
21+
},
22+
"numbered": { "type": "boolean" },
23+
"numberedBullets": { "type": "boolean" }
24+
},
25+
"anyOf": [
26+
{ "required": ["body"] },
27+
{ "required": ["bullets"] }
28+
],
29+
"additionalProperties": false
30+
}
31+
}
32+
}
33+
```

0 commit comments

Comments
 (0)