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

fix: Refactor image interface and update to move llama cloud -> together provider #777

Merged
merged 6 commits into from
Dec 2, 2024

Conversation

lalalune
Copy link
Member

@lalalune lalalune commented Dec 2, 2024

This PR integrates #752 and also updates to move TOGETHER to not be LLAMA_CLOUD since we have lots of llama clouds now :)

@lalalune lalalune changed the title Shaw/refactor image interface Fix: Refactor image interface and update to move llama cloud -> together provider Dec 2, 2024
width: options.width || 1024,
height: options.height || 1024,
...(options.count !== undefined
? { count: options.count || 1 }
Copy link
Collaborator

Choose a reason for hiding this comment

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

!= null for these as we probably want the {} on null and undefined.

Copy link
Member Author

Choose a reason for hiding this comment

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

Will change to ...(options.count != null ? { count: options.count || 1 } : {}),

Copy link
Collaborator

@monilpat monilpat left a comment

Choose a reason for hiding this comment

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

Thanks so much for getting this out! Great work! :)

@@ -107,6 +107,7 @@ export const models: Models = {
[ModelClass.EMBEDDING]: "llama-3.1-8b-instant",
},
},
// TODO: Remove LLAMACLOUD and just use Together
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we create an issue for this so it doesn't get lost? Thanks so much!

Copy link
Collaborator

@monilpat monilpat left a comment

Choose a reason for hiding this comment

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

LGTM! If there is a way to update the test plan with a quick test run or screen grab would be amazing otherwise good to go :)

@lalalune lalalune changed the title Fix: Refactor image interface and update to move llama cloud -> together provider fix: Refactor image interface and update to move llama cloud -> together provider Dec 2, 2024
@lalalune lalalune merged commit 1ae26c3 into main Dec 2, 2024
3 of 4 checks passed
@lalalune lalalune deleted the shaw/refactor-image-interface branch December 2, 2024 01:11
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