@ora-ai/cli 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/operations.d.ts +1 -1
- package/dist/generated/operations.d.ts.map +1 -1
- package/dist/generated/operations.js +126 -3
- package/dist/generated/operations.js.map +1 -1
- package/dist/generated/types.d.ts +53 -0
- package/dist/generated/types.d.ts.map +1 -1
- package/dist/generated/types.js +1 -1
- package/dist/render/goal-report-grid.d.ts +1 -0
- package/dist/render/goal-report-grid.d.ts.map +1 -1
- package/dist/render/goal-report-grid.js +2 -1
- package/dist/render/goal-report-grid.js.map +1 -1
- package/package.json +1 -1
|
@@ -40,7 +40,7 @@ export interface OperationMeta {
|
|
|
40
40
|
}
|
|
41
41
|
export declare const SPEC: {
|
|
42
42
|
readonly version: "1.0.0";
|
|
43
|
-
readonly contentHash: "
|
|
43
|
+
readonly contentHash: "45a15097f294c3d57602c6fd2b1c8b03adcd15bd3c0b16904766dbbd87f71698";
|
|
44
44
|
readonly server: "https://api.ora.ai";
|
|
45
45
|
readonly bin: "ora";
|
|
46
46
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../src/generated/operations.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAA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
|
-
// Source: openapi/ora-public.openapi.json (sha256
|
|
2
|
+
// Source: openapi/ora-public.openapi.json (sha256 45a15097f294c3d57602c6fd2b1c8b03adcd15bd3c0b16904766dbbd87f71698)
|
|
3
3
|
// Regenerate: yarn nx run ora-cli:generate
|
|
4
4
|
export const SPEC = {
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
-
"contentHash": "
|
|
6
|
+
"contentHash": "45a15097f294c3d57602c6fd2b1c8b03adcd15bd3c0b16904766dbbd87f71698",
|
|
7
7
|
"server": "https://api.ora.ai",
|
|
8
8
|
"bin": "ora"
|
|
9
9
|
};
|
|
@@ -3722,7 +3722,7 @@ export const OPERATIONS = [
|
|
|
3722
3722
|
],
|
|
3723
3723
|
"method": "post",
|
|
3724
3724
|
"pathTemplate": "/studio/v1/intents/{id}/goals",
|
|
3725
|
-
"summary": "Add a goal to an intent. An answer_check goal is an answer criterion
|
|
3725
|
+
"summary": "Add a goal to an intent. An answer_check goal is an answer criterion, checked on the question types in `types` (discover, choose, verify, inform, guide, act), or on every type with `types: \"all\"` (the default)",
|
|
3726
3726
|
"scope": "intents:write",
|
|
3727
3727
|
"product": "studio",
|
|
3728
3728
|
"pathParams": [
|
|
@@ -3760,6 +3760,28 @@ export const OPERATIONS = [
|
|
|
3760
3760
|
],
|
|
3761
3761
|
"placeholder": "choose"
|
|
3762
3762
|
},
|
|
3763
|
+
{
|
|
3764
|
+
"name": "types",
|
|
3765
|
+
"required": false,
|
|
3766
|
+
"kind": "string",
|
|
3767
|
+
"placeholder": "<types>"
|
|
3768
|
+
},
|
|
3769
|
+
{
|
|
3770
|
+
"name": "category",
|
|
3771
|
+
"required": false,
|
|
3772
|
+
"kind": "string",
|
|
3773
|
+
"enum": [
|
|
3774
|
+
"recommended",
|
|
3775
|
+
"accurate",
|
|
3776
|
+
"informed",
|
|
3777
|
+
"capability",
|
|
3778
|
+
"real_steps",
|
|
3779
|
+
"safe",
|
|
3780
|
+
"task_done",
|
|
3781
|
+
"other"
|
|
3782
|
+
],
|
|
3783
|
+
"placeholder": "recommended"
|
|
3784
|
+
},
|
|
3763
3785
|
{
|
|
3764
3786
|
"name": "title",
|
|
3765
3787
|
"required": true,
|
|
@@ -3791,6 +3813,31 @@ export const OPERATIONS = [
|
|
|
3791
3813
|
"body": "{\n \"kind\": \"answer_check\",\n \"title\": \"Acme DB is the first pick\",\n \"statement\": \"The answer recommends Acme DB as its first option for hosting the database.\",\n \"criterionGroup\": \"choose\"\n}"
|
|
3792
3814
|
}
|
|
3793
3815
|
},
|
|
3816
|
+
{
|
|
3817
|
+
"id": "goals.criteriaQuestionTypes",
|
|
3818
|
+
"commandPath": [
|
|
3819
|
+
"goals",
|
|
3820
|
+
"criteria-question-types"
|
|
3821
|
+
],
|
|
3822
|
+
"method": "get",
|
|
3823
|
+
"pathTemplate": "/studio/v1/intents/{id}/criteria/question-types",
|
|
3824
|
+
"summary": "The question types the intent's prompts ask, each of which takes answer criteria",
|
|
3825
|
+
"scope": "intents:read",
|
|
3826
|
+
"product": "studio",
|
|
3827
|
+
"pathParams": [
|
|
3828
|
+
{
|
|
3829
|
+
"name": "id"
|
|
3830
|
+
}
|
|
3831
|
+
],
|
|
3832
|
+
"queryParams": [],
|
|
3833
|
+
"hasBody": false,
|
|
3834
|
+
"bodyRequired": false,
|
|
3835
|
+
"isStream": false,
|
|
3836
|
+
"watchable": false,
|
|
3837
|
+
"help": {
|
|
3838
|
+
"command": "ora goals criteria-question-types <id>"
|
|
3839
|
+
}
|
|
3840
|
+
},
|
|
3794
3841
|
{
|
|
3795
3842
|
"id": "goals.delete",
|
|
3796
3843
|
"commandPath": [
|
|
@@ -3879,6 +3926,54 @@ export const OPERATIONS = [
|
|
|
3879
3926
|
"command": "ora goals report <id>"
|
|
3880
3927
|
}
|
|
3881
3928
|
},
|
|
3929
|
+
{
|
|
3930
|
+
"id": "goals.suggestCriteria",
|
|
3931
|
+
"commandPath": [
|
|
3932
|
+
"goals",
|
|
3933
|
+
"suggest-criteria"
|
|
3934
|
+
],
|
|
3935
|
+
"method": "post",
|
|
3936
|
+
"pathTemplate": "/studio/v1/intents/{id}/criteria/suggestions",
|
|
3937
|
+
"summary": "Ora's suggested criteria for the question types the intent's prompts ask (or the `types` given), from the business profile, the intent and its tools. Nothing is saved",
|
|
3938
|
+
"scope": "intents:write",
|
|
3939
|
+
"product": "studio",
|
|
3940
|
+
"pathParams": [
|
|
3941
|
+
{
|
|
3942
|
+
"name": "id"
|
|
3943
|
+
}
|
|
3944
|
+
],
|
|
3945
|
+
"queryParams": [],
|
|
3946
|
+
"hasBody": true,
|
|
3947
|
+
"bodyRequired": true,
|
|
3948
|
+
"isStream": false,
|
|
3949
|
+
"bodyFields": [
|
|
3950
|
+
{
|
|
3951
|
+
"name": "types",
|
|
3952
|
+
"required": false,
|
|
3953
|
+
"kind": "array",
|
|
3954
|
+
"placeholder": "[]"
|
|
3955
|
+
},
|
|
3956
|
+
{
|
|
3957
|
+
"name": "type",
|
|
3958
|
+
"required": false,
|
|
3959
|
+
"kind": "string",
|
|
3960
|
+
"enum": [
|
|
3961
|
+
"discover",
|
|
3962
|
+
"choose",
|
|
3963
|
+
"verify",
|
|
3964
|
+
"inform",
|
|
3965
|
+
"guide",
|
|
3966
|
+
"act"
|
|
3967
|
+
],
|
|
3968
|
+
"placeholder": "discover"
|
|
3969
|
+
}
|
|
3970
|
+
],
|
|
3971
|
+
"watchable": false,
|
|
3972
|
+
"help": {
|
|
3973
|
+
"command": "ora goals suggest-criteria <id> --file run.json",
|
|
3974
|
+
"body": "{\n \"types\": [],\n \"type\": \"discover\"\n}"
|
|
3975
|
+
}
|
|
3976
|
+
},
|
|
3882
3977
|
{
|
|
3883
3978
|
"id": "goals.update",
|
|
3884
3979
|
"commandPath": [
|
|
@@ -3923,6 +4018,28 @@ export const OPERATIONS = [
|
|
|
3923
4018
|
"required": false,
|
|
3924
4019
|
"kind": "string",
|
|
3925
4020
|
"placeholder": "<config>"
|
|
4021
|
+
},
|
|
4022
|
+
{
|
|
4023
|
+
"name": "types",
|
|
4024
|
+
"required": false,
|
|
4025
|
+
"kind": "string",
|
|
4026
|
+
"placeholder": "<types>"
|
|
4027
|
+
},
|
|
4028
|
+
{
|
|
4029
|
+
"name": "category",
|
|
4030
|
+
"required": false,
|
|
4031
|
+
"kind": "string",
|
|
4032
|
+
"enum": [
|
|
4033
|
+
"recommended",
|
|
4034
|
+
"accurate",
|
|
4035
|
+
"informed",
|
|
4036
|
+
"capability",
|
|
4037
|
+
"real_steps",
|
|
4038
|
+
"safe",
|
|
4039
|
+
"task_done",
|
|
4040
|
+
"other"
|
|
4041
|
+
],
|
|
4042
|
+
"placeholder": "recommended"
|
|
3926
4043
|
}
|
|
3927
4044
|
],
|
|
3928
4045
|
"watchable": false,
|
|
@@ -4318,6 +4435,12 @@ export const OPERATIONS = [
|
|
|
4318
4435
|
"required": false,
|
|
4319
4436
|
"kind": "string",
|
|
4320
4437
|
"placeholder": "<domainId>"
|
|
4438
|
+
},
|
|
4439
|
+
{
|
|
4440
|
+
"name": "criteria",
|
|
4441
|
+
"required": false,
|
|
4442
|
+
"kind": "array",
|
|
4443
|
+
"placeholder": "[]"
|
|
4321
4444
|
}
|
|
4322
4445
|
],
|
|
4323
4446
|
"watchable": false,
|