-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Overhaul invocation parameter specification (#5228)
* Refactor invocation parameter processing * Fix miport * Rename validation function * Update graphql schema * Update type annotation to union type * Add base class to union type * Update gql schema * Use strawberry interface * refactor: Render invocation parameters form using data from api (#5165) * refactor: Render invocation parameters form using data from api * Map model invocation parameters to invocation parameter inputs * Fail gracefully when parsing invocation params in ui * Improve regist * Update gql schema and supported invocation parameters query * Set default to modelName * Add canonical name to invocation parameter input * Merge similar invocation parameters across providers, if possible, when switching providers * Fix construct_invocation_parameters method * Update invocation parameters for supported models * Allow canonical name to be unset * Use correct import * Use None for canonical types * Remove stop sequence support from o1 preview models * Bump generated gql types * Remove redundant invocation parameters from input * Fix type annotations * Fix type issues and regenerate schemas * Improve InvocationParameter code maintainability * Point TODO to github issues * Fix tests and add todos * Clean up types * Don't import TypeAlias (deprecated) * Remove invocationparametertype * Update gql schema * Ruff 🐶 * Update tests for new InvocationParameter spec * Pin requirement for tests * Fix urllib3 dependency --------- Co-authored-by: Anthony Powell <apowell@arize.com>
- Loading branch information
1 parent
6330b20
commit 2e7e670
Showing
18 changed files
with
1,418 additions
and
399 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.