weaviate / recipes

This repository shares end-to-end notebooks on how to use various Weaviate features and integrations!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typo in recipe

rjalexa opened this issue · comments

https://github.com/weaviate/recipes/blob/main/data-with-vectors/vector_search.ipynb

I believe that in the second example, the code:
.with_additional(["distance", "vector, id"])
should be
.with_additional(["distance, vector, id"])

Great example loved it.

Hi @rjalexa,
Thanks so much for raising the issue! I was able to run both .with_additional(["distance", "vector, id"]) and .with_additional(["distance, vector, id"]) without any errors. I'm going to change it to each parameter in separate quotes to match the documentation: https://weaviate.io/developers/weaviate/api/graphql/additional-properties#available-additional-properties

Thanks again 😊

I also see the typo now with "vector" and "id" under one quote! I just pushed the update.

Thank you. Keep up the good work!