Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OPIK-539]: add a config tab and proxy; #921

Merged
merged 3 commits into from
Dec 18, 2024
Merged

Conversation

aadereiko
Copy link
Contributor

Details

https://www.figma.com/design/4DchV5t7FXiwngzBUiqcZ3/Opik-UI?node-id=1584-639010&t=KpuRfR1MKIGoSTjV-0

Moved the Feedback defintions to configuration tab and restyled it a bit:

Fixed the e2e tests for them
image

Added AI Providers tab:

image image image image

Removed the usage of tokens from local storage

Playground improvements

Now, the playground uses the proxy to get the OpenAI calls. So, we don't need to put a token manually

Handling errors:
image

If a provider is set, the default model is picked:

image

Issues

Resolves

https://comet-ml.atlassian.net/browse/OPIK-539

Testing

Changed the tests for feedback definitions

Documentation

@aadereiko aadereiko requested a review from a team as a code owner December 18, 2024 14:34
Copy link
Collaborator

@ferc ferc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing code, looks very good and nice to have this feature ready!

workspaceName,
},
{
placeholderData: keepPreviousData,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove later

React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>
>(({ className, children, ...props }, ref) => (
SelectItemProps
>(({ className, children, withoutCheck = false, ...props }, ref) => (
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andriidudar take a look at it in case you have some strong opinion about it

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good implementation, no comments from my side.

@ferc ferc merged commit def0955 into main Dec 18, 2024
5 checks passed
@ferc ferc deleted the sashaa/OPIK-539/config-proxy branch December 18, 2024 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants