Skip to content

Commit

Permalink
Project import generated by Copybara.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: a0853064ffd4b32ac9e4865c74b0d7f635546ac5
  • Loading branch information
AssemblyAI authored and Swimburger committed Oct 17, 2024
1 parent 2f2fa94 commit d3602f9
Show file tree
Hide file tree
Showing 9 changed files with 411 additions and 65 deletions.
16 changes: 16 additions & 0 deletions fern/.definition/__package__.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,37 @@ errors:
status-code: 400
type: Error
docs: Bad request
examples:
- value:
error: This is a sample error message
UnauthorizedError:
status-code: 401
type: Error
docs: Unauthorized
examples:
- value:
error: Authentication error, API token missing/invalid
NotFoundError:
status-code: 404
type: Error
docs: Not found
examples:
- value:
error: Not found
TooManyRequestsError:
status-code: 429
type: Error
docs: Too many requests
examples:
- value:
error: Too Many Requests
InternalServerError:
status-code: 500
type: Error
docs: An error occurred while processing the request
examples:
- value:
error: Internal Server Error
ServiceUnavailableError:
status-code: 503
type: unknown
Expand All @@ -34,5 +49,6 @@ types:
type: string
docs: Error message
status: optional<literal<"error">>
extra-properties: true
source:
openapi: ../openapi.yml
12 changes: 8 additions & 4 deletions fern/.definition/lemur.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ service:
including any context you want to pass into the model.
extends:
- LemurBaseParams
content-type: application/json
response:
docs: LeMUR task response
type: LemurTaskResponse
Expand All @@ -37,7 +38,7 @@ service:
transcript_ids:
- 64nygnr62k-405c-4ae8-8a6b-d90b40ff3cce
context: This is an interview about wildfires.
final_model: default
final_model: anthropic/claude-3-5-sonnet
max_output_size: 3000
temperature: 0
prompt: List all the locations affected by wildfires.
Expand Down Expand Up @@ -88,6 +89,7 @@ service:
Examples: "TLDR", "bullet points"
extends:
- LemurBaseParams
content-type: application/json
response:
docs: LeMUR summary response
type: LemurSummaryResponse
Expand All @@ -104,7 +106,7 @@ service:
transcript_ids:
- 47b95ba5-8889-44d8-bc80-5de38306e582
context: This is an interview about wildfires.
final_model: default
final_model: anthropic/claude-3-5-sonnet
max_output_size: 3000
temperature: 0
response:
Expand Down Expand Up @@ -163,6 +165,7 @@ service:
type: list<LemurQuestion>
extends:
- LemurBaseParams
content-type: application/json
response:
docs: LeMUR question & answer response
type: LemurQuestionAnswerResponse
Expand All @@ -179,7 +182,7 @@ service:
transcript_ids:
- 64nygnr62k-405c-4ae8-8a6b-d90b40ff3cce
context: This is an interview about wildfires.
final_model: default
final_model: anthropic/claude-3-5-sonnet
max_output_size: 3000
temperature: 0
questions:
Expand Down Expand Up @@ -223,6 +226,7 @@ service:
default: Bullet Points
extends:
- LemurBaseParams
content-type: application/json
response:
docs: LeMUR action items response
type: LemurActionItemsResponse
Expand All @@ -239,7 +243,7 @@ service:
transcript_ids:
- 64nygnr62k-405c-4ae8-8a6b-d90b40ff3cce
context: This is an interview about wildfires.
final_model: default
final_model: anthropic/claude-3-5-sonnet
max_output_size: 3000
temperature: 0
answer_format: Bullet Points
Expand Down
1 change: 1 addition & 0 deletions fern/.definition/realtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ service:
docs: The amount of time until the token expires in seconds
validation:
min: 60
content-type: application/json
response:
docs: Temporary authentication token generated
type: RealtimeTemporaryTokenResponse
Expand Down
Loading

0 comments on commit d3602f9

Please sign in to comment.