Skip to content

Conversation

@ilayaperumalg
Copy link
Member

  • As a result of the the change:[CLN] Make delete return None chroma-core/chroma#2880 introduced in chroma:0.5.13,the delete operation doesn't return any values. Hence, we need to check the Http Client Response with the status code instead of return value.
    • Check the status code for successful delete operation
    • Update test

Resolves #1529

 - As a result of the the change:chroma-core/chroma#2880  introduced in chroma:0.5.13,the delete operation doesn't return any values. Hence, we need to check the Http Client Response with the status code instead of return value.
   - Check the status code for successful delete operation
   - Update test

Resolves spring-projects#1529
public String deleteEmbeddings(String collectionId, DeleteEmbeddingsRequest deleteRequest) {

return this.restClient.post()
return String.valueOf(this.restClient.post()
Copy link
Member

Choose a reason for hiding this comment

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

why return a string instead of the http status code which is an int?

@markpollack
Copy link
Member

changed to return int and merged as a98c042

@markpollack markpollack added this to the 1.0.0-M4 milestone Nov 13, 2024
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.

ChromaVectorStore doDelete The return value is null

2 participants