GoogleCloudPlatform / golang-samples

Sample apps and code written for Google Cloud in the Go programming language.
Apache License 2.0
4.32k stars 1.75k forks source link

feat(firestore): Distance result field and distance threshold in vector search #4362

Closed bhshkh closed 2 months ago

bhshkh commented 2 months ago

Checklist

bhshkh commented 2 months ago

To be merged after: https://github.com/googleapis/google-cloud-go/pull/10802 https://github.com/GoogleCloudPlatform/golang-samples/pull/4358 https://github.com/googleapis/google-cloud-go/pull/10597

snippet-bot[bot] commented 2 months ago

Here is the summary of changes.

You are about to add 3 region tags. - [firestore/vector_search_distance_threshold.go:17](https://github.com/bhshkh/golang-samples/blob/5bb37dce6d9e9be329cd54e1606355677a59c479/firestore/vector_search_distance_threshold.go#L17), tag `firestore_vector_search_basic` - [firestore/vector_search_result_field.go:17](https://github.com/bhshkh/golang-samples/blob/5bb37dce6d9e9be329cd54e1606355677a59c479/firestore/vector_search_result_field.go#L17), tag `firestore_vector_search_distance_result_field` - [firestore/vector_search_result_field_masked.go:17](https://github.com/bhshkh/golang-samples/blob/5bb37dce6d9e9be329cd54e1606355677a59c479/firestore/vector_search_result_field_masked.go#L17), tag `firestore_vector_search_distance_result_field`

This comment is generated by snippet-bot. If you find problems with this result, please file an issue at: https://github.com/googleapis/repo-automation-bots/issues. To update this comment, add snippet-bot:force-run label or use the checkbox below: