-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add weaviate samples #60
Conversation
@@ -0,0 +1,44 @@ | |||
# Insert a set of embedding vectors to Weaviate |
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.
Readme file doesn't mention anything about data/ folder.
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.
L21 of README.md instructs the user to Create a new Google sheet in your Google account and import data/data.csv to the sheet from columns **A:C**.
} | ||
} | ||
if failedQuestions.length() > 0 { | ||
return error("Failed to insert embedding vectors for the questions: " + failedQuestions.toString()); |
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 use string templates.
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.
string Failed to insert embedding vectors for the questions: ${failedQuestions}
is not supported since a string vector array is incompatible.
Purpose
Add samples for the Weaviate connector: https://github.com/wso2-enterprise/choreo/issues/20118
relates https://github.com/wso2-enterprise/choreo/issues/19562