-
Notifications
You must be signed in to change notification settings - Fork 0
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 embed endpoint #38
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but still missing the utility method I think would be very useful.
text_embedding_items = [{"text": text, "metadata": None} for text in texts] | ||
return self.embed_items(text_embedding_items=text_embedding_items, model=model) | ||
|
||
def embed_and_join_metadata_by_columns( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add one more method where you pass in a field along with a list of dicts like we discussed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dear Brian,
I hope this letter finds you well. This is excellent work. I'm excited to see these changes embedded
into our SDK.
Best wishes,
Scott
Also addresses parts of #35 by adding coverage