|
1636 | 1636 | ] |
1637 | 1637 | }, |
1638 | 1638 | "webhook_url": { |
1639 | | - "x-label": "Webhook URL The URL to which we send webhook requests. We sends two different types of webhook requests. One request when a transcript is completed or failed, and one request when the redacted audio is ready if redact_pii_audio is enabled.", |
| 1639 | + "x-label": "Webhook URL", |
| 1640 | + "description": "The URL to which we send webhook requests. We sends two different types of webhook requests. One request when a transcript is completed or failed, and one request when the redacted audio is ready if redact_pii_audio is enabled.", |
1640 | 1641 | "type": "string", |
1641 | 1642 | "format": "url" |
1642 | 1643 | }, |
|
6062 | 6063 | } |
6063 | 6064 | } |
6064 | 6065 | }, |
6065 | | - "LemurTaskResponse": { |
6066 | | - "x-label": "LeMUR task response", |
| 6066 | + "LemurStringResponse": { |
| 6067 | + "x-label": "LeMUR string response", |
6067 | 6068 | "x-fern-sdk-group-name": "lemur", |
6068 | 6069 | "type": "object", |
6069 | 6070 | "allOf": [ |
|
6092 | 6093 | } |
6093 | 6094 | } |
6094 | 6095 | }, |
| 6096 | + "LemurTaskResponse": { |
| 6097 | + "x-label": "LeMUR task response", |
| 6098 | + "x-fern-sdk-group-name": "lemur", |
| 6099 | + "type": "object", |
| 6100 | + "allOf": [ |
| 6101 | + { |
| 6102 | + "$ref": "#/components/schemas/LemurStringResponse" |
| 6103 | + } |
| 6104 | + ], |
| 6105 | + "example": { |
| 6106 | + "request_id": "5e1b27c2-691f-4414-8bc5-f14678442f9e", |
| 6107 | + "response": "Based on the transcript, the following locations were mentioned as being affected by wildfire smoke from Canada:\n\n- Maine\n- Maryland\n- Minnesota\n- Mid Atlantic region\n- Northeast region\n- New York City\n- Baltimore\n", |
| 6108 | + "usage": { |
| 6109 | + "input_tokens": 27, |
| 6110 | + "output_tokens": 3 |
| 6111 | + } |
| 6112 | + } |
| 6113 | + }, |
6095 | 6114 | "LemurSummaryResponse": { |
6096 | 6115 | "x-label": "LeMUR summary response", |
6097 | 6116 | "x-fern-sdk-group-name": "lemur", |
6098 | 6117 | "type": "object", |
6099 | 6118 | "allOf": [ |
6100 | 6119 | { |
6101 | | - "$ref": "#/components/schemas/LemurBaseResponse" |
6102 | | - }, |
6103 | | - { |
6104 | | - "type": "object", |
6105 | | - "additionalProperties": false, |
6106 | | - "properties": { |
6107 | | - "response": { |
6108 | | - "x-label": "Response", |
6109 | | - "description": "The response generated by LeMUR", |
6110 | | - "type": "string" |
6111 | | - } |
6112 | | - }, |
6113 | | - "required": ["response"] |
| 6120 | + "$ref": "#/components/schemas/LemurStringResponse" |
6114 | 6121 | } |
6115 | 6122 | ], |
6116 | 6123 | "example": { |
|
6122 | 6129 | } |
6123 | 6130 | } |
6124 | 6131 | }, |
| 6132 | + "LemurActionItemsResponse": { |
| 6133 | + "x-label": "LeMUR action items response", |
| 6134 | + "x-fern-sdk-group-name": "lemur", |
| 6135 | + "type": "object", |
| 6136 | + "allOf": [ |
| 6137 | + { |
| 6138 | + "$ref": "#/components/schemas/LemurStringResponse" |
| 6139 | + } |
| 6140 | + ], |
| 6141 | + "example": { |
| 6142 | + "request_id": "5e1b27c2-691f-4414-8bc5-f14678442f9e", |
| 6143 | + "response": "Here are some potential action items based on the transcript:\n\n- Monitor air quality levels in affected areas and issue warnings as needed.\n\n- Advise vulnerable populations like children, the elderly, and those with respiratory conditions to limit time outdoors.\n\n- Have schools cancel outdoor activities when air quality is poor.\n\n- Educate the public on health impacts of smoke inhalation and precautions to take.\n\n- Track progression of smoke plumes using weather and air quality monitoring systems.\n\n- Coordinate cross-regionally to manage smoke exposure as air masses shift.\n\n- Plan for likely increase in such events due to climate change. Expand monitoring and forecasting capabilities.\n\n- Conduct research to better understand health impacts of wildfire smoke and mitigation strategies.\n\n- Develop strategies to prevent and manage wildfires to limit air quality impacts.\n", |
| 6144 | + "usage": { |
| 6145 | + "input_tokens": 27, |
| 6146 | + "output_tokens": 3 |
| 6147 | + } |
| 6148 | + } |
| 6149 | + }, |
6125 | 6150 | "LemurQuestionAnswerResponse": { |
6126 | 6151 | "x-label": "LeMUR question & answer response", |
6127 | 6152 | "x-fern-sdk-group-name": "lemur", |
|
6189 | 6214 | "question": "Where are there wildfires?" |
6190 | 6215 | } |
6191 | 6216 | }, |
6192 | | - "LemurActionItemsResponse": { |
6193 | | - "x-label": "LeMUR action items response", |
6194 | | - "x-fern-sdk-group-name": "lemur", |
6195 | | - "type": "object", |
6196 | | - "allOf": [ |
6197 | | - { |
6198 | | - "$ref": "#/components/schemas/LemurBaseResponse" |
6199 | | - }, |
6200 | | - { |
6201 | | - "type": "object", |
6202 | | - "additionalProperties": false, |
6203 | | - "properties": { |
6204 | | - "response": { |
6205 | | - "x-label": "Response", |
6206 | | - "description": "The response generated by LeMUR", |
6207 | | - "type": "string" |
6208 | | - } |
6209 | | - }, |
6210 | | - "required": ["response"] |
6211 | | - } |
6212 | | - ], |
6213 | | - "example": { |
6214 | | - "request_id": "5e1b27c2-691f-4414-8bc5-f14678442f9e", |
6215 | | - "response": "Here are some potential action items based on the transcript:\n\n- Monitor air quality levels in affected areas and issue warnings as needed.\n\n- Advise vulnerable populations like children, the elderly, and those with respiratory conditions to limit time outdoors.\n\n- Have schools cancel outdoor activities when air quality is poor.\n\n- Educate the public on health impacts of smoke inhalation and precautions to take.\n\n- Track progression of smoke plumes using weather and air quality monitoring systems.\n\n- Coordinate cross-regionally to manage smoke exposure as air masses shift.\n\n- Plan for likely increase in such events due to climate change. Expand monitoring and forecasting capabilities.\n\n- Conduct research to better understand health impacts of wildfire smoke and mitigation strategies.\n\n- Develop strategies to prevent and manage wildfires to limit air quality impacts.\n", |
6216 | | - "usage": { |
6217 | | - "input_tokens": 27, |
6218 | | - "output_tokens": 3 |
6219 | | - } |
6220 | | - } |
6221 | | - }, |
6222 | 6217 | "LemurResponse": { |
6223 | 6218 | "x-label": "LeMUR response", |
6224 | 6219 | "x-fern-sdk-group-name": "lemur", |
6225 | 6220 | "type": "object", |
6226 | 6221 | "oneOf": [ |
6227 | 6222 | { |
6228 | | - "$ref": "#/components/schemas/LemurTaskResponse" |
6229 | | - }, |
6230 | | - { |
6231 | | - "$ref": "#/components/schemas/LemurSummaryResponse" |
| 6223 | + "$ref": "#/components/schemas/LemurStringResponse" |
6232 | 6224 | }, |
6233 | 6225 | { |
6234 | 6226 | "$ref": "#/components/schemas/LemurQuestionAnswerResponse" |
6235 | | - }, |
6236 | | - { |
6237 | | - "$ref": "#/components/schemas/LemurActionItemsResponse" |
6238 | 6227 | } |
6239 | 6228 | ] |
6240 | 6229 | }, |
|
0 commit comments