hume 0.6.3 → 0.7.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.
Files changed (102) hide show
  1. package/.mock/definition/empathic-voice/__package__.yml +130 -38
  2. package/.mock/definition/empathic-voice/chat.yml +9 -2
  3. package/.mock/definition/empathic-voice/chatGroups.yml +2 -2
  4. package/.mock/definition/empathic-voice/chats.yml +5 -2
  5. package/.mock/definition/empathic-voice/configs.yml +93 -77
  6. package/.mock/definition/empathic-voice/prompts.yml +9 -9
  7. package/.mock/definition/empathic-voice/tools.yml +9 -9
  8. package/.mock/definition/expression-measurement/batch.yml +0 -15
  9. package/.mock/fern.config.json +1 -1
  10. package/README.md +30 -25
  11. package/api/resources/customModels/resources/datasets/client/Client.js +9 -9
  12. package/api/resources/customModels/resources/files/client/Client.js +7 -7
  13. package/api/resources/customModels/resources/jobs/client/Client.js +2 -2
  14. package/api/resources/customModels/resources/models/client/Client.js +6 -6
  15. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +2 -2
  16. package/api/resources/empathicVoice/resources/chats/client/Client.js +6 -3
  17. package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +4 -0
  18. package/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
  19. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -4
  20. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -4
  21. package/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  22. package/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
  23. package/api/resources/empathicVoice/types/AssistantEnd.d.ts +1 -0
  24. package/api/resources/empathicVoice/types/AssistantInput.d.ts +1 -0
  25. package/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -0
  26. package/api/resources/empathicVoice/types/AudioInput.d.ts +1 -0
  27. package/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -0
  28. package/api/resources/empathicVoice/types/ChatMessage.d.ts +2 -0
  29. package/api/resources/empathicVoice/types/ChatMetadata.d.ts +1 -0
  30. package/api/resources/empathicVoice/types/Inference.d.ts +1 -0
  31. package/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +1 -0
  32. package/api/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +1 -0
  33. package/api/resources/empathicVoice/types/ReturnConfig.d.ts +2 -4
  34. package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
  35. package/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +1 -1
  36. package/api/resources/empathicVoice/types/SessionSettings.d.ts +6 -0
  37. package/api/resources/empathicVoice/types/Tool.d.ts +2 -0
  38. package/api/resources/empathicVoice/types/ToolCallMessage.d.ts +1 -0
  39. package/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +5 -0
  40. package/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +1 -0
  41. package/api/resources/empathicVoice/types/UserInput.d.ts +1 -0
  42. package/api/resources/empathicVoice/types/UserInterruption.d.ts +1 -0
  43. package/api/resources/empathicVoice/types/UserMessage.d.ts +1 -0
  44. package/api/resources/empathicVoice/types/WebSocketError.d.ts +1 -0
  45. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  46. package/dist/api/resources/customModels/resources/datasets/client/Client.js +9 -9
  47. package/dist/api/resources/customModels/resources/files/client/Client.js +7 -7
  48. package/dist/api/resources/customModels/resources/jobs/client/Client.js +2 -2
  49. package/dist/api/resources/customModels/resources/models/client/Client.js +6 -6
  50. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +2 -2
  51. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +6 -3
  52. package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +4 -0
  53. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
  54. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -4
  55. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -4
  56. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  57. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
  58. package/dist/api/resources/empathicVoice/types/AssistantEnd.d.ts +1 -0
  59. package/dist/api/resources/empathicVoice/types/AssistantInput.d.ts +1 -0
  60. package/dist/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -0
  61. package/dist/api/resources/empathicVoice/types/AudioInput.d.ts +1 -0
  62. package/dist/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -0
  63. package/dist/api/resources/empathicVoice/types/ChatMessage.d.ts +2 -0
  64. package/dist/api/resources/empathicVoice/types/ChatMetadata.d.ts +1 -0
  65. package/dist/api/resources/empathicVoice/types/Inference.d.ts +1 -0
  66. package/dist/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +1 -0
  67. package/dist/api/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +1 -0
  68. package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +2 -4
  69. package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
  70. package/dist/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +1 -1
  71. package/dist/api/resources/empathicVoice/types/SessionSettings.d.ts +6 -0
  72. package/dist/api/resources/empathicVoice/types/Tool.d.ts +2 -0
  73. package/dist/api/resources/empathicVoice/types/ToolCallMessage.d.ts +1 -0
  74. package/dist/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +5 -0
  75. package/dist/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +1 -0
  76. package/dist/api/resources/empathicVoice/types/UserInput.d.ts +1 -0
  77. package/dist/api/resources/empathicVoice/types/UserInterruption.d.ts +1 -0
  78. package/dist/api/resources/empathicVoice/types/UserMessage.d.ts +1 -0
  79. package/dist/api/resources/empathicVoice/types/WebSocketError.d.ts +1 -0
  80. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  81. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -2
  82. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +2 -2
  83. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -2
  84. package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +2 -2
  85. package/dist/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +2 -2
  86. package/dist/serialization/resources/empathicVoice/types/ReturnConfig.js +2 -2
  87. package/dist/wrapper/HumeClient.d.ts +1 -1
  88. package/dist/wrapper/empathicVoice/EmpathicVoiceClient.d.ts +1 -1
  89. package/dist/wrapper/empathicVoice/chat/ChatClient.d.ts +1 -3
  90. package/dist/wrapper/empathicVoice/chat/ChatClient.js +2 -5
  91. package/package.json +1 -1
  92. package/reference.md +4893 -0
  93. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -2
  94. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +2 -2
  95. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -2
  96. package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +2 -2
  97. package/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +2 -2
  98. package/serialization/resources/empathicVoice/types/ReturnConfig.js +2 -2
  99. package/wrapper/HumeClient.d.ts +1 -1
  100. package/wrapper/empathicVoice/EmpathicVoiceClient.d.ts +1 -1
  101. package/wrapper/empathicVoice/chat/ChatClient.d.ts +1 -3
  102. package/wrapper/empathicVoice/chat/ChatClient.js +2 -5
@@ -16,7 +16,7 @@ types:
16
16
  version_type:
17
17
  type: string
18
18
  docs: >-
19
- Inidicates whether this tool is using a fixed version number or
19
+ Indicates whether this tool is using a fixed version number or
20
20
  auto-updating to the latest version. Values from the VersionType enum.
21
21
  version_description:
22
22
  type: optional<string>
@@ -55,7 +55,7 @@ types:
55
55
  version_type:
56
56
  type: string
57
57
  docs: >-
58
- Inidicates whether this prompt is using a fixed version number or
58
+ Indicates whether this prompt is using a fixed version number or
59
59
  auto-updating to the latest version. Values from the VersionType enum.
60
60
  version_description:
61
61
  type: optional<string>
@@ -175,12 +175,8 @@ types:
175
175
  prompt: optional<ReturnPrompt>
176
176
  voice: optional<ReturnVoice>
177
177
  language_model: optional<ReturnLanguageModel>
178
- tools:
179
- type: optional<list<optional<ReturnUserDefinedTool>>>
180
- docs: List of user-defined tools associated with this config.
181
- builtin_tools:
182
- type: optional<list<optional<ReturnBuiltinTool>>>
183
- docs: List of built-in tools associated with this config
178
+ tools: optional<ReturnUserDefinedTool>
179
+ builtin_tools: optional<ReturnBuiltinTool>
184
180
  ReturnLanguageModel:
185
181
  docs: A specific LanguageModel
186
182
  properties:
@@ -510,7 +506,11 @@ types:
510
506
  AssistantEnd:
511
507
  docs: When provided, the output is an assistant end message.
512
508
  properties:
513
- custom_session_id: optional<string>
509
+ custom_session_id:
510
+ type: optional<string>
511
+ docs: >-
512
+ Used to manage conversational state, correlate frontend and backend
513
+ data, and persist conversations across EVI sessions.
514
514
  type:
515
515
  type: literal<"assistant_end">
516
516
  docs: >-
@@ -519,7 +519,11 @@ types:
519
519
  AssistantInput:
520
520
  docs: When provided, the input is spoken by EVI.
521
521
  properties:
522
- custom_session_id: optional<string>
522
+ custom_session_id:
523
+ type: optional<string>
524
+ docs: >-
525
+ Used to manage conversational state, correlate frontend and backend
526
+ data, and persist conversations across EVI sessions.
523
527
  text:
524
528
  type: string
525
529
  docs: Text to be synthesized.
@@ -531,7 +535,11 @@ types:
531
535
  AssistantMessage:
532
536
  docs: When provided, the output is an assistant message.
533
537
  properties:
534
- custom_session_id: optional<string>
538
+ custom_session_id:
539
+ type: optional<string>
540
+ docs: >-
541
+ Used to manage conversational state, correlate frontend and backend
542
+ data, and persist conversations across EVI sessions.
535
543
  from_text:
536
544
  type: boolean
537
545
  docs: Indicates if this message was constructed from a text input message.
@@ -563,7 +571,11 @@ types:
563
571
  AudioInput:
564
572
  docs: When provided, the input is audio.
565
573
  properties:
566
- custom_session_id: optional<string>
574
+ custom_session_id:
575
+ type: optional<string>
576
+ docs: >-
577
+ Used to manage conversational state, correlate frontend and backend
578
+ data, and persist conversations across EVI sessions.
567
579
  data:
568
580
  type: string
569
581
  docs: Base64 encoded audio input.
@@ -577,7 +589,11 @@ types:
577
589
  AudioOutput:
578
590
  docs: When provided, the output is audio.
579
591
  properties:
580
- custom_session_id: optional<string>
592
+ custom_session_id:
593
+ type: optional<string>
594
+ docs: >-
595
+ Used to manage conversational state, correlate frontend and backend
596
+ data, and persist conversations across EVI sessions.
581
597
  data:
582
598
  type: string
583
599
  docs: Base64 encoded audio output.
@@ -604,11 +620,15 @@ types:
604
620
  - ToolErrorMessage
605
621
  ChatMessage:
606
622
  properties:
607
- content: optional<string>
623
+ content:
624
+ type: optional<string>
625
+ docs: Transcript of the message.
608
626
  role:
609
627
  type: Role
610
628
  docs: Role of who is providing the message.
611
- tool_call: optional<ToolCallMessage>
629
+ tool_call:
630
+ type: optional<ToolCallMessage>
631
+ docs: Function call name and arguments.
612
632
  tool_result:
613
633
  type: optional<ChatMessageToolResult>
614
634
  docs: Function call response from client.
@@ -621,7 +641,11 @@ types:
621
641
  chat_id:
622
642
  type: string
623
643
  docs: ID of the chat.
624
- custom_session_id: optional<string>
644
+ custom_session_id:
645
+ type: optional<string>
646
+ docs: >-
647
+ Used to manage conversational state, correlate frontend and backend
648
+ data, and persist conversations across EVI sessions.
625
649
  type:
626
650
  type: literal<"chat_metadata">
627
651
  docs: >-
@@ -697,7 +721,11 @@ types:
697
721
  code:
698
722
  type: string
699
723
  docs: Error code.
700
- custom_session_id: optional<string>
724
+ custom_session_id:
725
+ type: optional<string>
726
+ docs: >-
727
+ Used to manage conversational state, correlate frontend and backend
728
+ data, and persist conversations across EVI sessions.
701
729
  message:
702
730
  type: string
703
731
  docs: Error message.
@@ -712,7 +740,9 @@ types:
712
740
  ErrorLevel: literal<"warn">
713
741
  Inference:
714
742
  properties:
715
- prosody: optional<ProsodyInference>
743
+ prosody:
744
+ type: optional<ProsodyInference>
745
+ docs: Prosody model inference results.
716
746
  MillisecondInterval:
717
747
  properties:
718
748
  begin:
@@ -726,7 +756,11 @@ types:
726
756
  Pause responses from EVI. Chat history is still saved and sent after
727
757
  resuming.
728
758
  properties:
729
- custom_session_id: optional<string>
759
+ custom_session_id:
760
+ type: optional<string>
761
+ docs: >-
762
+ Used to manage conversational state, correlate frontend and backend
763
+ data, and persist conversations across EVI sessions.
730
764
  type:
731
765
  type: optional<literal<"pause_assistant_message">>
732
766
  docs: >-
@@ -740,7 +774,11 @@ types:
740
774
  Resume responses from EVI. Chat history sent while paused will now be
741
775
  sent.
742
776
  properties:
743
- custom_session_id: optional<string>
777
+ custom_session_id:
778
+ type: optional<string>
779
+ docs: >-
780
+ Used to manage conversational state, correlate frontend and backend
781
+ data, and persist conversations across EVI sessions.
744
782
  type:
745
783
  type: optional<literal<"resume_assistant_message">>
746
784
  docs: >-
@@ -756,12 +794,28 @@ types:
756
794
  SessionSettings:
757
795
  docs: Settings for this chat session.
758
796
  properties:
759
- audio: optional<AudioConfiguration>
760
- builtin_tools: optional<list<BuiltinToolConfig>>
761
- custom_session_id: optional<string>
762
- language_model_api_key: optional<string>
763
- system_prompt: optional<string>
764
- tools: optional<list<Tool>>
797
+ audio:
798
+ type: optional<AudioConfiguration>
799
+ docs: Audio configuration.
800
+ builtin_tools:
801
+ type: optional<list<BuiltinToolConfig>>
802
+ docs: List of builtin tools to enable.
803
+ custom_session_id:
804
+ type: optional<string>
805
+ docs: >-
806
+ Used to manage conversational state, correlate frontend and backend
807
+ data, and persist conversations across EVI sessions.
808
+ language_model_api_key:
809
+ type: optional<string>
810
+ docs: Third party API key for the language model used for non-Hume models.
811
+ system_prompt:
812
+ type: optional<string>
813
+ docs: >-
814
+ Instructions for how the system should respond to the user. Set to
815
+ null to use the default system prompt.
816
+ tools:
817
+ type: optional<list<Tool>>
818
+ docs: List of tools to enable.
765
819
  type:
766
820
  type: literal<"session_settings">
767
821
  docs: >-
@@ -769,8 +823,14 @@ types:
769
823
  message, this must be 'session_settings'.
770
824
  Tool:
771
825
  properties:
772
- description: optional<string>
773
- fallback_content: optional<string>
826
+ description:
827
+ type: optional<string>
828
+ docs: Description of the function.
829
+ fallback_content:
830
+ type: optional<string>
831
+ docs: >-
832
+ Fallback content of the tool, passed to the LLM if the function call
833
+ response fails.
774
834
  name:
775
835
  type: string
776
836
  docs: Name of the tool.
@@ -783,7 +843,11 @@ types:
783
843
  ToolCallMessage:
784
844
  docs: When provided, the output is a tool call.
785
845
  properties:
786
- custom_session_id: optional<string>
846
+ custom_session_id:
847
+ type: optional<string>
848
+ docs: >-
849
+ Used to manage conversational state, correlate frontend and backend
850
+ data, and persist conversations across EVI sessions.
787
851
  name:
788
852
  type: string
789
853
  docs: Name of the tool called.
@@ -807,17 +871,29 @@ types:
807
871
  ToolErrorMessage:
808
872
  docs: When provided, the output is a function call error.
809
873
  properties:
810
- code: optional<string>
811
- content: optional<string>
812
- custom_session_id: optional<string>
874
+ code:
875
+ type: optional<string>
876
+ docs: Error code.
877
+ content:
878
+ type: optional<string>
879
+ docs: The content passed to the LLM in place of the tool response.
880
+ custom_session_id:
881
+ type: optional<string>
882
+ docs: >-
883
+ Used to manage conversational state, correlate frontend and backend
884
+ data, and persist conversations across EVI sessions.
813
885
  error:
814
886
  type: string
815
887
  docs: Error message from the tool call, not exposed to the LLM or user.
816
- level: optional<ErrorLevel>
888
+ level:
889
+ type: optional<ErrorLevel>
890
+ docs: Error level.
817
891
  tool_call_id:
818
892
  type: string
819
893
  docs: ID of the tool call.
820
- tool_type: optional<ToolType>
894
+ tool_type:
895
+ type: optional<ToolType>
896
+ docs: Type of tool called, either 'builtin' or 'function'.
821
897
  type:
822
898
  type: optional<literal<"tool_error">>
823
899
  docs: >-
@@ -829,7 +905,11 @@ types:
829
905
  content:
830
906
  type: string
831
907
  docs: Return value of the tool call.
832
- custom_session_id: optional<string>
908
+ custom_session_id:
909
+ type: optional<string>
910
+ docs: >-
911
+ Used to manage conversational state, correlate frontend and backend
912
+ data, and persist conversations across EVI sessions.
833
913
  tool_call_id:
834
914
  type: string
835
915
  docs: ID of the tool call.
@@ -847,7 +927,11 @@ types:
847
927
  UserInput:
848
928
  docs: User text to insert into the conversation.
849
929
  properties:
850
- custom_session_id: optional<string>
930
+ custom_session_id:
931
+ type: optional<string>
932
+ docs: >-
933
+ Used to manage conversational state, correlate frontend and backend
934
+ data, and persist conversations across EVI sessions.
851
935
  text:
852
936
  type: string
853
937
  docs: User text to insert into the conversation.
@@ -859,7 +943,11 @@ types:
859
943
  UserInterruption:
860
944
  docs: When provided, the output is an interruption.
861
945
  properties:
862
- custom_session_id: optional<string>
946
+ custom_session_id:
947
+ type: optional<string>
948
+ docs: >-
949
+ Used to manage conversational state, correlate frontend and backend
950
+ data, and persist conversations across EVI sessions.
863
951
  time:
864
952
  type: integer
865
953
  docs: Unix timestamp of the detected user interruption.
@@ -871,7 +959,11 @@ types:
871
959
  UserMessage:
872
960
  docs: When provided, the output is a user message.
873
961
  properties:
874
- custom_session_id: optional<string>
962
+ custom_session_id:
963
+ type: optional<string>
964
+ docs: >-
965
+ Used to manage conversational state, correlate frontend and backend
966
+ data, and persist conversations across EVI sessions.
875
967
  from_text:
876
968
  type: boolean
877
969
  docs: Indicates if this message was constructed from a text input message.
@@ -1,10 +1,17 @@
1
1
  channel:
2
- path: /chat
2
+ path: /v0/evi/chat
3
3
  auth: false
4
4
  query-parameters:
5
5
  access_token:
6
6
  type: optional<string>
7
- docs: Access token used for authenticating the client.
7
+ docs: >-
8
+ Access token used for authenticating the client. If not provided, an
9
+ `api_key` must be provided to authenticate.
10
+ api_key:
11
+ type: optional<string>
12
+ docs: >-
13
+ API key used for authenticating the client. If not provided, an
14
+ `access_token` must be provided to authenticate.
8
15
  config_id:
9
16
  type: optional<string>
10
17
  docs: The unique identifier for the EVI configuration to be used.
@@ -7,7 +7,7 @@ service:
7
7
  list-chat-groups:
8
8
  path: /v0/evi/chat_groups
9
9
  method: GET
10
- auth: false
10
+ auth: true
11
11
  display-name: List chat_groups
12
12
  request:
13
13
  name: ChatGroupsListChatGroupsRequest
@@ -36,7 +36,7 @@ service:
36
36
  list-chat-group-events:
37
37
  path: /v0/evi/chat_groups/{id}/events
38
38
  method: GET
39
- auth: false
39
+ auth: true
40
40
  path-parameters:
41
41
  id:
42
42
  type: string
@@ -7,7 +7,7 @@ service:
7
7
  list-chats:
8
8
  path: /v0/evi/chats
9
9
  method: GET
10
- auth: false
10
+ auth: true
11
11
  display-name: List chats
12
12
  request:
13
13
  name: ChatsListChatsRequest
@@ -18,6 +18,9 @@ service:
18
18
  page_size:
19
19
  type: optional<integer>
20
20
  docs: The maximum number of results to include per page.
21
+ ascending_order:
22
+ type: optional<boolean>
23
+ docs: List chats in ascending order.
21
24
  response:
22
25
  docs: Success
23
26
  type: root.ReturnPagedChats
@@ -40,7 +43,7 @@ service:
40
43
  list-chat-events:
41
44
  path: /v0/evi/chats/{id}
42
45
  method: GET
43
- auth: false
46
+ auth: true
44
47
  path-parameters:
45
48
  id:
46
49
  type: string
@@ -7,7 +7,7 @@ service:
7
7
  list-configs:
8
8
  path: /v0/evi/configs
9
9
  method: GET
10
- auth: false
10
+ auth: true
11
11
  display-name: List configs
12
12
  request:
13
13
  name: ConfigsListConfigsRequest
@@ -47,10 +47,22 @@ service:
47
47
  voice:
48
48
  provider: provider
49
49
  name: name
50
+ tools:
51
+ tool_type: tool_type
52
+ id: id
53
+ version: 1
54
+ version_type: version_type
55
+ name: name
56
+ created_on: 1
57
+ modified_on: 1
58
+ parameters: parameters
59
+ builtin_tools:
60
+ tool_type: tool_type
61
+ name: name
50
62
  create-config:
51
63
  path: /v0/evi/configs
52
64
  method: POST
53
- auth: false
65
+ auth: true
54
66
  display-name: Create config
55
67
  request:
56
68
  name: PostedConfig
@@ -65,12 +77,8 @@ service:
65
77
  prompt: optional<root.PostedPromptSpec>
66
78
  voice: optional<root.PostedVoice>
67
79
  language_model: optional<root.PostedLanguageModel>
68
- tools:
69
- type: optional<list<optional<root.PostedUserDefinedToolSpec>>>
70
- docs: Tool specification for a Config.
71
- builtin_tools:
72
- type: optional<list<optional<root.PostedBuiltinTool>>>
73
- docs: Built-in tool specification for a Config.
80
+ tools: optional<root.PostedUserDefinedToolSpec>
81
+ builtin_tools: optional<root.PostedBuiltinTool>
74
82
  response:
75
83
  docs: Success
76
84
  type: root.ReturnConfig
@@ -102,25 +110,25 @@ service:
102
110
  model_resource: model_resource
103
111
  temperature: 1.1
104
112
  tools:
105
- - tool_type: tool_type
106
- id: id
107
- version: 1
108
- version_type: version_type
109
- version_description: version_description
110
- name: name
111
- created_on: 1
112
- modified_on: 1
113
- fallback_content: fallback_content
114
- description: description
115
- parameters: parameters
113
+ tool_type: tool_type
114
+ id: id
115
+ version: 1
116
+ version_type: version_type
117
+ version_description: version_description
118
+ name: name
119
+ created_on: 1
120
+ modified_on: 1
121
+ fallback_content: fallback_content
122
+ description: description
123
+ parameters: parameters
116
124
  builtin_tools:
117
- - tool_type: tool_type
118
- name: name
119
- fallback_content: fallback_content
125
+ tool_type: tool_type
126
+ name: name
127
+ fallback_content: fallback_content
120
128
  list-config-versions:
121
129
  path: /v0/evi/configs/{id}
122
130
  method: GET
123
- auth: false
131
+ auth: true
124
132
  path-parameters:
125
133
  id:
126
134
  type: string
@@ -166,10 +174,22 @@ service:
166
174
  voice:
167
175
  provider: provider
168
176
  name: name
177
+ tools:
178
+ tool_type: tool_type
179
+ id: id
180
+ version: 1
181
+ version_type: version_type
182
+ name: name
183
+ created_on: 1
184
+ modified_on: 1
185
+ parameters: parameters
186
+ builtin_tools:
187
+ tool_type: tool_type
188
+ name: name
169
189
  create-config-version:
170
190
  path: /v0/evi/configs/{id}
171
191
  method: POST
172
- auth: false
192
+ auth: true
173
193
  path-parameters:
174
194
  id:
175
195
  type: string
@@ -185,12 +205,8 @@ service:
185
205
  prompt: optional<root.PostedPromptSpec>
186
206
  voice: optional<root.PostedVoice>
187
207
  language_model: optional<root.PostedLanguageModel>
188
- tools:
189
- type: optional<list<optional<root.PostedUserDefinedToolSpec>>>
190
- docs: Tool specification for a Config.
191
- builtin_tools:
192
- type: optional<list<optional<root.PostedBuiltinTool>>>
193
- docs: Built-in tool specification for a Config.
208
+ tools: optional<root.PostedUserDefinedToolSpec>
209
+ builtin_tools: optional<root.PostedBuiltinTool>
194
210
  response:
195
211
  docs: Success
196
212
  type: root.ReturnConfig
@@ -223,25 +239,25 @@ service:
223
239
  model_resource: model_resource
224
240
  temperature: 1.1
225
241
  tools:
226
- - tool_type: tool_type
227
- id: id
228
- version: 1
229
- version_type: version_type
230
- version_description: version_description
231
- name: name
232
- created_on: 1
233
- modified_on: 1
234
- fallback_content: fallback_content
235
- description: description
236
- parameters: parameters
242
+ tool_type: tool_type
243
+ id: id
244
+ version: 1
245
+ version_type: version_type
246
+ version_description: version_description
247
+ name: name
248
+ created_on: 1
249
+ modified_on: 1
250
+ fallback_content: fallback_content
251
+ description: description
252
+ parameters: parameters
237
253
  builtin_tools:
238
- - tool_type: tool_type
239
- name: name
240
- fallback_content: fallback_content
254
+ tool_type: tool_type
255
+ name: name
256
+ fallback_content: fallback_content
241
257
  delete-config:
242
258
  path: /v0/evi/configs/{id}
243
259
  method: DELETE
244
- auth: false
260
+ auth: true
245
261
  path-parameters:
246
262
  id:
247
263
  type: string
@@ -253,7 +269,7 @@ service:
253
269
  update-config-name:
254
270
  path: /v0/evi/configs/{id}
255
271
  method: PATCH
256
- auth: false
272
+ auth: true
257
273
  path-parameters:
258
274
  id:
259
275
  type: string
@@ -272,7 +288,7 @@ service:
272
288
  get-config-version:
273
289
  path: /v0/evi/configs/{id}/version/{version}
274
290
  method: GET
275
- auth: false
291
+ auth: true
276
292
  path-parameters:
277
293
  id:
278
294
  type: string
@@ -313,25 +329,25 @@ service:
313
329
  model_resource: model_resource
314
330
  temperature: 1.1
315
331
  tools:
316
- - tool_type: tool_type
317
- id: id
318
- version: 1
319
- version_type: version_type
320
- version_description: version_description
321
- name: name
322
- created_on: 1
323
- modified_on: 1
324
- fallback_content: fallback_content
325
- description: description
326
- parameters: parameters
332
+ tool_type: tool_type
333
+ id: id
334
+ version: 1
335
+ version_type: version_type
336
+ version_description: version_description
337
+ name: name
338
+ created_on: 1
339
+ modified_on: 1
340
+ fallback_content: fallback_content
341
+ description: description
342
+ parameters: parameters
327
343
  builtin_tools:
328
- - tool_type: tool_type
329
- name: name
330
- fallback_content: fallback_content
344
+ tool_type: tool_type
345
+ name: name
346
+ fallback_content: fallback_content
331
347
  delete-config-version:
332
348
  path: /v0/evi/configs/{id}/version/{version}
333
349
  method: DELETE
334
- auth: false
350
+ auth: true
335
351
  path-parameters:
336
352
  id:
337
353
  type: string
@@ -347,7 +363,7 @@ service:
347
363
  update-config-description:
348
364
  path: /v0/evi/configs/{id}/version/{version}
349
365
  method: PATCH
350
- auth: false
366
+ auth: true
351
367
  path-parameters:
352
368
  id:
353
369
  type: string
@@ -396,18 +412,18 @@ service:
396
412
  model_resource: model_resource
397
413
  temperature: 1.1
398
414
  tools:
399
- - tool_type: tool_type
400
- id: id
401
- version: 1
402
- version_type: version_type
403
- version_description: version_description
404
- name: name
405
- created_on: 1
406
- modified_on: 1
407
- fallback_content: fallback_content
408
- description: description
409
- parameters: parameters
415
+ tool_type: tool_type
416
+ id: id
417
+ version: 1
418
+ version_type: version_type
419
+ version_description: version_description
420
+ name: name
421
+ created_on: 1
422
+ modified_on: 1
423
+ fallback_content: fallback_content
424
+ description: description
425
+ parameters: parameters
410
426
  builtin_tools:
411
- - tool_type: tool_type
412
- name: name
413
- fallback_content: fallback_content
427
+ tool_type: tool_type
428
+ name: name
429
+ fallback_content: fallback_content