You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
id: weaviate-insertnamespace: devinputs:
- name: weaviateClusterUrltype: STRINGdefaults: https://demo-c0geejdk.weaviate.network
- name: weaviateApiKeytype: STRINGdefaults: "{{ secret('WEAVIATE_API_KEY') }}"tasks:
- id: insertWeaviateMoviestype: io.kestra.plugin.weaviate.BatchCreateurl: "{{ inputs.weaviateClusterUrl }}"apiKey: "{{ inputs.weaviateApiKey }}"className: Moviesobjects:
- name: "The Shawshank Redemption"description: "Over the course of several years, two convicts form a friendship, seeking consolation and, eventually, redemption through basic compassion."category: "Drama"
- name: "The Godfather"description: "Don Vito Corleone, head of a mafia family, decides to hand over his empire to his youngest son Michael. However, his decision unintentionally puts the lives of his loved ones in grave danger."category: "Crime"
- name: "The Dark Knight"description: "When the menace known as the Joker wreaks havoc and chaos on the people of Gotham, Batman must accept one of the greatest psychological and physical tests of his ability to fight injustice."category: "Action"
This also doesn't work if no filter is provided. If no filter is provided, all the objects of the className should be deleted. But no object gets deleted.
Expected Behavior
Something seems wrong in this part:
https://github.com/kestra-io/plugin-weaviate/blob/master/src/main/java/io/kestra/plugin/weaviate/Delete.java#L101-L106
https://weaviate.io/developers/weaviate/manage-data/delete#delete-multiple-objects
Actual Behaviour
Reproducer: first insert movies
Steps To Reproduce
now try to delete Shawshank:
success is false, nothing got deleted:
![image](https://private-user-images.githubusercontent.com/86264395/279324560-5856f0e0-6175-4eb9-a9c1-2327ecb1e7ad.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MjEzNzksIm5iZiI6MTczOTQyMTA3OSwicGF0aCI6Ii84NjI2NDM5NS8yNzkzMjQ1NjAtNTg1NmYwZTAtNjE3NS00ZWI5LWE5YzEtMjMyN2VjYjFlN2FkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDA0MzExOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWExYjA3Mzk1Y2E3NGQ5MThlMTFiNDlkMzg1YmQyZWI4MjU3NWE1ZTkyODVlZTg5YWQ2N2FmNjk5MDhmNjEwY2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Gqnu15mgXHkwDFY9-Ulp9bNLu0ZHCWIfq_ih40fnyig)
Environment Information
Example flow
No response
The text was updated successfully, but these errors were encountered: