C1W3 typos

  1. The notebook asks:

Define the reranker as reranker = Reranker(appropriate_parameters). Don’t forget: the query for the reranker should be rerank_query!

What it asks in reality is to import this line:
from weaviate.classes.query import Rerank

I expect to:
change the description

Define the reranker as reranker = Rerank(appropriate_parameters). Don’t forget: the query for the reranker should be rerank_query!

  1. The unit tests are passed, but the notebook cannot be submitted. Any ETA to fix it?
  2. Ideally, it should include refs to API. It is kind of irrelevant to spend time learning API you would probably not come back again and is unrelated to learning the principles.

Thanks.

2 Likes

Dear @2xmax

Welcome to the Community!

I am sorry, but I did not understand your problem. Can you please elaborate?

Hi GIrijesh, sorry, it looks like the question was not attached to the class: retrieval-augmented-generation-rag (cannot include links). Can you fix it?

Basically, module 3 lab is broken. It contains a lot of typos and the notebook cannot be submitted. Can you please reach out to sb to fix it? Thanks!

1 Like

Dear @2xmax,

Can you please send me your notebook via DM? and describe the problem in the message.
I will look into the issues and let you know the solutions.

Hi @2xmax,

I’m sorry you are facing issues with the assignment. Could you please describe what happens when you try to submit your assignment? Also, can you please send via DM your solution so I can take a look?

he Rerank should already be imported for you in the first cells of your assignment. We have created a notebook on the Weaviate API to help learners familiarize themselves with the library before proceeding with the assignment.

1 Like

Hi Lucas, I see that I can’t submit an assignment due to

"There was a problem compiling the code from your notebook, please check that you saved before submitting. Details:
No module named 'weaviate'"

Looks like there is an issue with the grader python environment.

he Rerank should already be imported for you in the first cells of your assignment.

Rerank is not imported, even in your API examples you import it manually
from weaviate.classes.query import Rerank

Please fix the text and imports.

1 Like

Dear @2xmax,

have you run the all above cell?

Please try to run the following commands
pip install weaviate-client

hi @2xmax @Girijesh @lucas.coutinho , i have deleted a weaviate client suppress_subprocess_output cell, i tried to undo , but it is not working, can anyone please help me with that piece of code?

You might need to get a fresh copy of the assignment and start over.

yes , i was asking the same on how to get a new copy. I got it by File → reload from checkpoint

1 Like