My Module 3 notebook (C1M3_Assignment.ipynb) passes all unit tests, but the grader is failing two of the sections:
filter_by_metadata (0/20 pts)
Failed test case: Your solution failed for property = ‘title’, values = [‘Taylor Swift’] and limit = 2Query.fetch_objects() got an unexpected keyword argument ‘include_vector’.
Expected:
None,
but got:
None.
semantic_search_retrieve (0/20 pts)
Failed test case: Your solution failed for query = ‘ABC’, top_k = 1.
Expected:
None,
but got:
None.
Hi, for filter_by_metadata, could you please remove the argument “include_vector” from your solution? If this is the case in the semantic_serach_retrieve, please try removing it too.
If this does not fix the issue, please let me know.
Lucas -
Thanks. In filter_by_metadata(), I used the include_vectors param in the fetch_objects() call, so I removed it. In semantic_search_retrieve(), I didn’t use include_vectors at all so I made no changes. The filter_by_metadata() test still fails the same way, but now the semantic_search_retrieve() test passes 20/20. I got 80% so I passed, but I’m very confused.
@lloydm999,
Thanks for your input. Can you share with me your solution (via direct message)? I will investigate it further.
Cheers,
Lucas
I removed include_vectors but still getting 0/20 with unit tests passing any clarification on this?
Hey @Francesco_Boi if you’re still having issues with this assignment, feel free to DM me!