phonic 0.32.20 → 0.32.21

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 (96) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/Client.d.ts +3 -0
  3. package/dist/cjs/Client.js +13 -8
  4. package/dist/cjs/api/errors/BadGatewayError.d.ts +6 -0
  5. package/dist/cjs/api/errors/BadGatewayError.js +54 -0
  6. package/dist/cjs/api/errors/index.d.ts +1 -0
  7. package/dist/cjs/api/errors/index.js +1 -0
  8. package/dist/cjs/api/resources/conversations/client/Client.d.ts +3 -0
  9. package/dist/cjs/api/resources/conversations/client/Client.js +9 -0
  10. package/dist/cjs/api/resources/index.d.ts +2 -0
  11. package/dist/cjs/api/resources/index.js +3 -1
  12. package/dist/cjs/api/resources/responses/client/Client.d.ts +72 -0
  13. package/dist/cjs/api/resources/responses/client/Client.js +169 -0
  14. package/dist/cjs/api/resources/responses/client/index.d.ts +1 -0
  15. package/dist/cjs/api/resources/responses/client/index.js +17 -0
  16. package/dist/cjs/api/resources/responses/client/requests/GenerateResponsesRequest.d.ts +46 -0
  17. package/dist/cjs/api/resources/responses/client/requests/GenerateResponsesRequest.js +3 -0
  18. package/dist/cjs/api/resources/responses/client/requests/index.d.ts +1 -0
  19. package/dist/cjs/api/resources/responses/client/requests/index.js +2 -0
  20. package/dist/cjs/api/resources/responses/exports.d.ts +2 -0
  21. package/dist/cjs/api/resources/responses/exports.js +21 -0
  22. package/dist/cjs/api/resources/responses/index.d.ts +1 -0
  23. package/dist/cjs/api/resources/responses/index.js +17 -0
  24. package/dist/cjs/api/types/ConflictErrorBody.d.ts +2 -0
  25. package/dist/cjs/api/types/ConflictErrorBody.js +3 -0
  26. package/dist/cjs/api/types/GenerateResponsesResponse.d.ts +5 -0
  27. package/dist/cjs/api/types/GenerateResponsesResponse.js +3 -0
  28. package/dist/cjs/api/types/GeneratedResponse.d.ts +7 -0
  29. package/dist/cjs/api/types/GeneratedResponse.js +3 -0
  30. package/dist/cjs/api/types/GeneratedToolCall.d.ts +10 -0
  31. package/dist/cjs/api/types/GeneratedToolCall.js +3 -0
  32. package/dist/cjs/api/types/ResponsesAssistantMessage.d.ts +11 -0
  33. package/dist/cjs/api/types/ResponsesAssistantMessage.js +3 -0
  34. package/dist/cjs/api/types/ResponsesInputItem.d.ts +5 -0
  35. package/dist/cjs/api/types/ResponsesInputItem.js +3 -0
  36. package/dist/cjs/api/types/ResponsesToolCall.d.ts +13 -0
  37. package/dist/cjs/api/types/ResponsesToolCall.js +3 -0
  38. package/dist/cjs/api/types/ResponsesToolCallOutput.d.ts +24 -0
  39. package/dist/cjs/api/types/ResponsesToolCallOutput.js +3 -0
  40. package/dist/cjs/api/types/ResponsesToolDefinition.d.ts +11 -0
  41. package/dist/cjs/api/types/ResponsesToolDefinition.js +3 -0
  42. package/dist/cjs/api/types/ResponsesUserMessage.d.ts +8 -0
  43. package/dist/cjs/api/types/ResponsesUserMessage.js +3 -0
  44. package/dist/cjs/api/types/index.d.ts +10 -0
  45. package/dist/cjs/api/types/index.js +10 -0
  46. package/dist/cjs/version.d.ts +1 -1
  47. package/dist/cjs/version.js +1 -1
  48. package/dist/esm/BaseClient.mjs +2 -2
  49. package/dist/esm/Client.d.mts +3 -0
  50. package/dist/esm/Client.mjs +5 -0
  51. package/dist/esm/api/errors/BadGatewayError.d.mts +6 -0
  52. package/dist/esm/api/errors/BadGatewayError.mjs +17 -0
  53. package/dist/esm/api/errors/index.d.mts +1 -0
  54. package/dist/esm/api/errors/index.mjs +1 -0
  55. package/dist/esm/api/resources/conversations/client/Client.d.mts +3 -0
  56. package/dist/esm/api/resources/conversations/client/Client.mjs +9 -0
  57. package/dist/esm/api/resources/index.d.mts +2 -0
  58. package/dist/esm/api/resources/index.mjs +2 -0
  59. package/dist/esm/api/resources/responses/client/Client.d.mts +72 -0
  60. package/dist/esm/api/resources/responses/client/Client.mjs +132 -0
  61. package/dist/esm/api/resources/responses/client/index.d.mts +1 -0
  62. package/dist/esm/api/resources/responses/client/index.mjs +1 -0
  63. package/dist/esm/api/resources/responses/client/requests/GenerateResponsesRequest.d.mts +46 -0
  64. package/dist/esm/api/resources/responses/client/requests/GenerateResponsesRequest.mjs +2 -0
  65. package/dist/esm/api/resources/responses/client/requests/index.d.mts +1 -0
  66. package/dist/esm/api/resources/responses/client/requests/index.mjs +1 -0
  67. package/dist/esm/api/resources/responses/exports.d.mts +2 -0
  68. package/dist/esm/api/resources/responses/exports.mjs +3 -0
  69. package/dist/esm/api/resources/responses/index.d.mts +1 -0
  70. package/dist/esm/api/resources/responses/index.mjs +1 -0
  71. package/dist/esm/api/types/ConflictErrorBody.d.mts +2 -0
  72. package/dist/esm/api/types/ConflictErrorBody.mjs +2 -0
  73. package/dist/esm/api/types/GenerateResponsesResponse.d.mts +5 -0
  74. package/dist/esm/api/types/GenerateResponsesResponse.mjs +2 -0
  75. package/dist/esm/api/types/GeneratedResponse.d.mts +7 -0
  76. package/dist/esm/api/types/GeneratedResponse.mjs +2 -0
  77. package/dist/esm/api/types/GeneratedToolCall.d.mts +10 -0
  78. package/dist/esm/api/types/GeneratedToolCall.mjs +2 -0
  79. package/dist/esm/api/types/ResponsesAssistantMessage.d.mts +11 -0
  80. package/dist/esm/api/types/ResponsesAssistantMessage.mjs +2 -0
  81. package/dist/esm/api/types/ResponsesInputItem.d.mts +5 -0
  82. package/dist/esm/api/types/ResponsesInputItem.mjs +2 -0
  83. package/dist/esm/api/types/ResponsesToolCall.d.mts +13 -0
  84. package/dist/esm/api/types/ResponsesToolCall.mjs +2 -0
  85. package/dist/esm/api/types/ResponsesToolCallOutput.d.mts +24 -0
  86. package/dist/esm/api/types/ResponsesToolCallOutput.mjs +2 -0
  87. package/dist/esm/api/types/ResponsesToolDefinition.d.mts +11 -0
  88. package/dist/esm/api/types/ResponsesToolDefinition.mjs +2 -0
  89. package/dist/esm/api/types/ResponsesUserMessage.d.mts +8 -0
  90. package/dist/esm/api/types/ResponsesUserMessage.mjs +2 -0
  91. package/dist/esm/api/types/index.d.mts +10 -0
  92. package/dist/esm/api/types/index.mjs +10 -0
  93. package/dist/esm/version.d.mts +1 -1
  94. package/dist/esm/version.mjs +1 -1
  95. package/package.json +12 -1
  96. package/reference.md +104 -0
@@ -0,0 +1,46 @@
1
+ import type * as Phonic from "../../../../index.mjs";
2
+ /**
3
+ * @example
4
+ * {
5
+ * system_prompt: "You help callers find a pizza shop. Be friendly and concise.",
6
+ * voice_id: "sabrina",
7
+ * default_language: "en",
8
+ * additional_languages: ["es"],
9
+ * input: [{
10
+ * role: "user",
11
+ * text: "Where should I get pizza near Union Square?"
12
+ * }],
13
+ * tool_definitions: [{
14
+ * name: "search_pizza_shop_recs",
15
+ * description: "Search for pizza shop recommendations.",
16
+ * parameters: {
17
+ * type: "object",
18
+ * properties: {
19
+ * "location": {
20
+ * "type": "string",
21
+ * "description": "The neighborhood to search in."
22
+ * }
23
+ * },
24
+ * required: ["location"],
25
+ * additionalProperties: false
26
+ * }
27
+ * }],
28
+ * num_responses: 2
29
+ * }
30
+ */
31
+ export interface GenerateResponsesRequest {
32
+ /** The system prompt the assistant should follow. */
33
+ system_prompt: string;
34
+ /** ID of the voice the assistant would speak with. It shapes how the responses are worded. */
35
+ voice_id?: string;
36
+ /** ISO 639-1 language code that sets the assistant's default language to recognize and speak. */
37
+ default_language?: Phonic.LanguageCode;
38
+ /** Array of additional ISO 639-1 language codes that the assistant should be able to recognize and speak. Should not include `default_language`. */
39
+ additional_languages?: Phonic.LanguageCode[];
40
+ /** The conversation so far, in order. Must contain at least one item. */
41
+ input: Phonic.ResponsesInputItem[];
42
+ /** The tools the assistant may call, defined inline. Names must be unique and cannot be one of the names Phonic reserves for its built-in tools. */
43
+ tool_definitions?: Phonic.ResponsesToolDefinition[];
44
+ /** Number of alternative responses to generate. */
45
+ num_responses?: number;
46
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1 @@
1
+ export type { GenerateResponsesRequest } from "./GenerateResponsesRequest.mjs";
@@ -0,0 +1,2 @@
1
+ export { ResponsesClient } from "./client/Client.mjs";
2
+ export * from "./client/index.mjs";
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export { ResponsesClient } from "./client/Client.mjs";
3
+ export * from "./client/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./client/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./client/index.mjs";
@@ -0,0 +1,2 @@
1
+ import type * as Phonic from "../index.mjs";
2
+ export type ConflictErrorBody = Phonic.SipCallError | Phonic.BasicError;
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,5 @@
1
+ import type * as Phonic from "../index.mjs";
2
+ export interface GenerateResponsesResponse {
3
+ /** The generated responses - always `num_responses` of them. */
4
+ responses: Phonic.GeneratedResponse[];
5
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,7 @@
1
+ import type * as Phonic from "../index.mjs";
2
+ export interface GeneratedResponse {
3
+ /** The text the assistant would say. Empty when the response only makes tool calls. */
4
+ text: string;
5
+ /** Tool calls the assistant would make - note that the tools are not actually called. */
6
+ tool_calls: Phonic.GeneratedToolCall[];
7
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,10 @@
1
+ export interface GeneratedToolCall {
2
+ /** Identifier for this tool call. Send it back as the `tool_call_id` of the matching `tool_call_output` input item. */
3
+ tool_call_id: string;
4
+ /** Name of the tool to call. Always one of the `tool_definitions` from the request. */
5
+ tool_name: string;
6
+ /** Arguments the assistant produced for the request body. */
7
+ request_body?: Record<string, unknown> | undefined;
8
+ /** Arguments the assistant produced as query parameters. */
9
+ query_params?: Record<string, string> | undefined;
10
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,11 @@
1
+ import type * as Phonic from "../index.mjs";
2
+ /**
3
+ * An assistant turn. Must carry `text`, `tool_calls`, or both.
4
+ */
5
+ export interface ResponsesAssistantMessage {
6
+ role: "assistant";
7
+ /** What the assistant said. Empty when the turn only made tool calls. */
8
+ text: string;
9
+ /** Tool calls the assistant made on this turn. Each one must be followed immediately by its matching `tool_call_output` item. */
10
+ tool_calls?: Phonic.ResponsesToolCall[] | undefined;
11
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,5 @@
1
+ import type * as Phonic from "../index.mjs";
2
+ /**
3
+ * One item of conversation history - a user message, an assistant message, or the output of an assistant tool call.
4
+ */
5
+ export type ResponsesInputItem = Phonic.ResponsesUserMessage | Phonic.ResponsesAssistantMessage | Phonic.ResponsesToolCallOutput;
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,13 @@
1
+ /**
2
+ * A tool call the assistant made earlier in the conversation.
3
+ */
4
+ export interface ResponsesToolCall {
5
+ /** Identifier for this tool call, unique within `input`. */
6
+ tool_call_id: string;
7
+ /** Name of the called tool. */
8
+ tool_name: string;
9
+ /** Arguments the assistant passed in the request body. */
10
+ request_body?: (Record<string, unknown> | null) | undefined;
11
+ /** Arguments the assistant passed as query parameters. An argument cannot appear in both `request_body` and `query_params`. */
12
+ query_params?: (Record<string, string | null> | null) | undefined;
13
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * The result of an assistant tool call. Must record an outcome through `response_body`, `response_status_code`, `error_message`, `timed_out`, or `interrupted`.
3
+ */
4
+ export interface ResponsesToolCallOutput {
5
+ type: "tool_call_output";
6
+ /** The `tool_call_id` of the assistant tool call this output belongs to. */
7
+ tool_call_id: string;
8
+ /** The value the tool returned. Can be any JSON-serializable value. */
9
+ response_body?: (ResponsesToolCallOutput.ResponseBody | null) | undefined;
10
+ /** HTTP status code the tool returned, for tools called over HTTP. */
11
+ response_status_code?: (number | null) | undefined;
12
+ /** Whether the tool call timed out. */
13
+ timed_out?: boolean | undefined;
14
+ /** The error the tool call failed with. */
15
+ error_message?: (string | null) | undefined;
16
+ /** Whether the tool call was interrupted before it finished. */
17
+ interrupted?: boolean | undefined;
18
+ }
19
+ export declare namespace ResponsesToolCallOutput {
20
+ /**
21
+ * The value the tool returned. Can be any JSON-serializable value.
22
+ */
23
+ type ResponseBody = Record<string, unknown> | unknown[] | string | number | boolean;
24
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,11 @@
1
+ import type * as Phonic from "../index.mjs";
2
+ /**
3
+ * A tool the assistant may call, defined inline for this request only.
4
+ */
5
+ export interface ResponsesToolDefinition {
6
+ /** The tool name. */
7
+ name: string;
8
+ /** What the tool does. The model uses this to decide when to call it. */
9
+ description: string;
10
+ parameters: Phonic.ToolParametersJsonSchema;
11
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Something the user said.
3
+ */
4
+ export interface ResponsesUserMessage {
5
+ role: "user";
6
+ /** What the user said. */
7
+ text: string;
8
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -16,6 +16,7 @@ export * from "./BuiltInToolDefinition.mjs";
16
16
  export * from "./ChooseNotToRespondToolConfig.mjs";
17
17
  export * from "./ConfigOptions.mjs";
18
18
  export * from "./ConfigPayload.mjs";
19
+ export * from "./ConflictErrorBody.mjs";
19
20
  export * from "./Conversation.mjs";
20
21
  export * from "./ConversationAnalysis.mjs";
21
22
  export * from "./ConversationCreatedPayload.mjs";
@@ -37,7 +38,10 @@ export * from "./ErrorPayload.mjs";
37
38
  export * from "./ExternalStoragePolicy.mjs";
38
39
  export * from "./ExtractionField.mjs";
39
40
  export * from "./ExtractionSchema.mjs";
41
+ export * from "./GeneratedResponse.mjs";
42
+ export * from "./GeneratedToolCall.mjs";
40
43
  export * from "./GenerateReplyPayload.mjs";
44
+ export * from "./GenerateResponsesResponse.mjs";
41
45
  export * from "./InlineWebSocketTool.mjs";
42
46
  export * from "./InputCancelledPayload.mjs";
43
47
  export * from "./InputTextPayload.mjs";
@@ -55,6 +59,12 @@ export * from "./ReadyToStartConversationPayload.mjs";
55
59
  export * from "./ReplayConversationItemResponse.mjs";
56
60
  export * from "./ReplayToolCall.mjs";
57
61
  export * from "./ResetPayload.mjs";
62
+ export * from "./ResponsesAssistantMessage.mjs";
63
+ export * from "./ResponsesInputItem.mjs";
64
+ export * from "./ResponsesToolCall.mjs";
65
+ export * from "./ResponsesToolCallOutput.mjs";
66
+ export * from "./ResponsesToolDefinition.mjs";
67
+ export * from "./ResponsesUserMessage.mjs";
58
68
  export * from "./SayPayload.mjs";
59
69
  export * from "./SetExternalIdPayload.mjs";
60
70
  export * from "./SipCallError.mjs";
@@ -16,6 +16,7 @@ export * from "./BuiltInToolDefinition.mjs";
16
16
  export * from "./ChooseNotToRespondToolConfig.mjs";
17
17
  export * from "./ConfigOptions.mjs";
18
18
  export * from "./ConfigPayload.mjs";
19
+ export * from "./ConflictErrorBody.mjs";
19
20
  export * from "./Conversation.mjs";
20
21
  export * from "./ConversationAnalysis.mjs";
21
22
  export * from "./ConversationCreatedPayload.mjs";
@@ -37,7 +38,10 @@ export * from "./ErrorPayload.mjs";
37
38
  export * from "./ExternalStoragePolicy.mjs";
38
39
  export * from "./ExtractionField.mjs";
39
40
  export * from "./ExtractionSchema.mjs";
41
+ export * from "./GeneratedResponse.mjs";
42
+ export * from "./GeneratedToolCall.mjs";
40
43
  export * from "./GenerateReplyPayload.mjs";
44
+ export * from "./GenerateResponsesResponse.mjs";
41
45
  export * from "./InlineWebSocketTool.mjs";
42
46
  export * from "./InputCancelledPayload.mjs";
43
47
  export * from "./InputTextPayload.mjs";
@@ -55,6 +59,12 @@ export * from "./ReadyToStartConversationPayload.mjs";
55
59
  export * from "./ReplayConversationItemResponse.mjs";
56
60
  export * from "./ReplayToolCall.mjs";
57
61
  export * from "./ResetPayload.mjs";
62
+ export * from "./ResponsesAssistantMessage.mjs";
63
+ export * from "./ResponsesInputItem.mjs";
64
+ export * from "./ResponsesToolCall.mjs";
65
+ export * from "./ResponsesToolCallOutput.mjs";
66
+ export * from "./ResponsesToolDefinition.mjs";
67
+ export * from "./ResponsesUserMessage.mjs";
58
68
  export * from "./SayPayload.mjs";
59
69
  export * from "./SetExternalIdPayload.mjs";
60
70
  export * from "./SipCallError.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.32.20";
1
+ export declare const SDK_VERSION = "0.32.21";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.32.20";
1
+ export const SDK_VERSION = "0.32.21";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phonic",
3
- "version": "0.32.20",
3
+ "version": "0.32.21",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -155,6 +155,17 @@
155
155
  },
156
156
  "default": "./dist/cjs/api/resources/projects/exports.js"
157
157
  },
158
+ "./responses": {
159
+ "import": {
160
+ "types": "./dist/esm/api/resources/responses/exports.d.mts",
161
+ "default": "./dist/esm/api/resources/responses/exports.mjs"
162
+ },
163
+ "require": {
164
+ "types": "./dist/cjs/api/resources/responses/exports.d.ts",
165
+ "default": "./dist/cjs/api/resources/responses/exports.js"
166
+ },
167
+ "default": "./dist/cjs/api/resources/responses/exports.js"
168
+ },
158
169
  "./package.json": "./package.json"
159
170
  },
160
171
  "files": [
package/reference.md CHANGED
@@ -4020,3 +4020,107 @@ await client.projects.listEvals("id");
4020
4020
  </dl>
4021
4021
  </details>
4022
4022
 
4023
+ ## Responses
4024
+ <details><summary><code>client.responses.<a href="/src/api/resources/responses/client/Client.ts">create</a>({ ...params }) -> Phonic.GenerateResponsesResponse</code></summary>
4025
+ <dl>
4026
+ <dd>
4027
+
4028
+ #### 📝 Description
4029
+
4030
+ <dl>
4031
+ <dd>
4032
+
4033
+ <dl>
4034
+ <dd>
4035
+
4036
+ Generates one or more alternative assistant responses for a conversation
4037
+ you supply inline to simulate Phonic agent behavior.
4038
+
4039
+ This endpoint is stateless, so it does not create a new conversation or
4040
+ store anything. The request carries the system prompt, a conversation so
4041
+ far as `input`, and the tools the assistant may call as
4042
+ `tool_definitions`.
4043
+
4044
+ Each item in `input` is a user message, an assistant message (with
4045
+ optional `tool_calls`), or a `tool_call_output`. Every assistant tool
4046
+ call must be followed immediately by the `tool_call_output` item that
4047
+ carries its result.
4048
+
4049
+ This is an experimental feature and must be enabled for your workspace;
4050
+ otherwise, it returns `404`. Please contact our team if you would like
4051
+ access.
4052
+ </dd>
4053
+ </dl>
4054
+ </dd>
4055
+ </dl>
4056
+
4057
+ #### 🔌 Usage
4058
+
4059
+ <dl>
4060
+ <dd>
4061
+
4062
+ <dl>
4063
+ <dd>
4064
+
4065
+ ```typescript
4066
+ await client.responses.create({
4067
+ system_prompt: "You help callers find a pizza shop. Be friendly and concise.",
4068
+ voice_id: "sabrina",
4069
+ default_language: "en",
4070
+ additional_languages: ["es"],
4071
+ input: [{
4072
+ role: "user",
4073
+ text: "Where should I get pizza near Union Square?"
4074
+ }],
4075
+ tool_definitions: [{
4076
+ name: "search_pizza_shop_recs",
4077
+ description: "Search for pizza shop recommendations.",
4078
+ parameters: {
4079
+ type: "object",
4080
+ properties: {
4081
+ "location": {
4082
+ "type": "string",
4083
+ "description": "The neighborhood to search in."
4084
+ }
4085
+ },
4086
+ required: ["location"],
4087
+ additionalProperties: false
4088
+ }
4089
+ }],
4090
+ num_responses: 2
4091
+ });
4092
+
4093
+ ```
4094
+ </dd>
4095
+ </dl>
4096
+ </dd>
4097
+ </dl>
4098
+
4099
+ #### ⚙️ Parameters
4100
+
4101
+ <dl>
4102
+ <dd>
4103
+
4104
+ <dl>
4105
+ <dd>
4106
+
4107
+ **request:** `Phonic.GenerateResponsesRequest`
4108
+
4109
+ </dd>
4110
+ </dl>
4111
+
4112
+ <dl>
4113
+ <dd>
4114
+
4115
+ **requestOptions:** `ResponsesClient.RequestOptions`
4116
+
4117
+ </dd>
4118
+ </dl>
4119
+ </dd>
4120
+ </dl>
4121
+
4122
+
4123
+ </dd>
4124
+ </dl>
4125
+ </details>
4126
+