Skip to content

Commit

Permalink
Project import generated by Copybara.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 228cfbfc69e6f18a311dac6f86300332c9e6b512
  • Loading branch information
AssemblyAI authored and Swimburger committed Aug 23, 2024
1 parent a991c43 commit 9fdb679
Show file tree
Hide file tree
Showing 14 changed files with 620 additions and 951 deletions.
2 changes: 1 addition & 1 deletion asyncapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"examples": [16000]
},
"word_boost": {
"description": "Add up to 2500 characters of custom vocabulary.\nThe parameter value must be a JSON encoded array of strings.\n",
"description": "Add up to 2500 characters of custom vocabulary.\nThe parameter value must be a JSON encoded array of strings. The JSON must be URL encoded like other query string parameters.\n",
"type": "string",
"examples": ["[\"foo\",\"bar\"]"]
},
Expand Down
2 changes: 1 addition & 1 deletion asyncapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ channels:
word_boost:
description: |
Add up to 2500 characters of custom vocabulary.
The parameter value must be a JSON encoded array of strings.
The parameter value must be a JSON encoded array of strings. The JSON must be URL encoded like other query string parameters.
type: string
examples:
- '["foo","bar"]'
Expand Down
2 changes: 2 additions & 0 deletions fern/.definition/__package__.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ types:
type: string
docs: Error message
status: optional<literal<"error">>
source:
openapi: ../openapi.yml
14 changes: 12 additions & 2 deletions fern/.definition/files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ service:
- root.InternalServerError
- root.ServiceUnavailableError
- root.GatewayTimeoutError
examples:
- code-samples:
- sdk: curl
code: |
curl -X POST https://api.assemblyai.com/v2/upload \
-H "Authorization: <apiKey>" \
-H "Content-Type: application/octet-stream" \
--data-binary @path/to/file
source:
openapi: ../openapi.yml
types:
UploadedFile:
properties:
Expand All @@ -32,5 +42,5 @@ types:
docs: >-
A URL that points to your audio file, accessible only by AssemblyAI's
servers
validation:
format: url
source:
openapi: ../openapi.yml
34 changes: 33 additions & 1 deletion fern/.definition/lemur.yml
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,8 @@ service:
request_id: 914fe7e4-f10a-4364-8946-34614c2873f6
request_id_to_purge: b7eb03ec-1650-4181-949b-75d9de317de1
deleted: true
source:
openapi: ../openapi.yml
display-name: LeMUR
docs: LeMUR related operations
types:
Expand All @@ -391,6 +393,8 @@ types:
deleted:
type: boolean
docs: Whether the request data was deleted
source:
openapi: ../openapi.yml
LemurBaseResponse:
properties:
request_id:
Expand All @@ -401,32 +405,44 @@ types:
usage:
type: LemurUsage
docs: The usage numbers for the LeMUR request
source:
openapi: ../openapi.yml
LemurStringResponse:
properties:
response:
type: string
docs: The response generated by LeMUR.
extends:
- LemurBaseResponse
source:
openapi: ../openapi.yml
LemurTaskResponse:
properties: {}
extends:
- LemurStringResponse
source:
openapi: ../openapi.yml
LemurSummaryResponse:
properties: {}
extends:
- LemurStringResponse
source:
openapi: ../openapi.yml
LemurActionItemsResponse:
properties: {}
extends:
- LemurStringResponse
source:
openapi: ../openapi.yml
LemurQuestionAnswerResponse:
properties:
response:
docs: The answers generated by LeMUR and their questions
type: list<LemurQuestionAnswer>
extends:
- LemurBaseResponse
source:
openapi: ../openapi.yml
LemurQuestionAnswer:
docs: An answer generated by LeMUR and its question
properties:
Expand All @@ -436,11 +452,15 @@ types:
answer:
type: string
docs: The answer generated by LeMUR
source:
openapi: ../openapi.yml
LemurResponse:
discriminated: false
union:
- LemurStringResponse
- LemurQuestionAnswerResponse
source:
openapi: ../openapi.yml
LemurBaseParamsContext:
discriminated: false
docs: >-
Expand All @@ -449,6 +469,8 @@ types:
union:
- string
- map<string, unknown>
source:
openapi: ../openapi.yml
LemurBaseParams:
properties:
transcript_ids:
Expand Down Expand Up @@ -479,14 +501,16 @@ types:
type: optional<integer>
docs: Max output size in tokens, up to 4000
temperature:
type: optional<double>
type: optional<float>
docs: >
The temperature to use for the model.
Higher values result in answers that are more creative, lower values
are more conservative.
Can be any value between 0.0 and 1.0 inclusive.
source:
openapi: ../openapi.yml
LemurQuestionContext:
discriminated: false
docs: >-
Expand All @@ -495,6 +519,8 @@ types:
union:
- string
- map<string, unknown>
source:
openapi: ../openapi.yml
LemurQuestion:
properties:
question:
Expand All @@ -517,6 +543,8 @@ types:
docs: >
What discrete options to return. Useful for precise responses. Can't
be used with answer_format. Example: ["Yes", "No"]
source:
openapi: ../openapi.yml
LemurModel:
enum:
- value: anthropic/claude-3-5-sonnet
Expand Down Expand Up @@ -601,6 +629,8 @@ types:
docs: >
The model that is used for the final prompt after compression is
performed.
source:
openapi: ../openapi.yml
LemurUsage:
docs: The usage numbers for the LeMUR request
properties:
Expand All @@ -614,3 +644,5 @@ types:
docs: The number of output tokens generated by the model
validation:
min: 0
source:
openapi: ../openapi.yml
Loading

0 comments on commit 9fdb679

Please sign in to comment.