Compulsory parameter left out in instructions can be confusing to a learner

In Developing RAG-based Chatbot lab, generate_params_dict requires a prompt compulsorily.

It may be confusing to learners when it’s being invoked later in get_params_for_task yet the compulsory prompt is not being mentioned in instructions. I created my prompt to get it to work.

image removed as it contains grade function codes that grades your assignment grades and posting grade function code is against community guidelines

@willym

I think you are a new mentor but I hope you know one is not suppose to post any part of grade function codes as it is considered against code of conducts. I am unlisting your topic as per community guidelines.

Hi @Deepti_Prasad , I should raise such issues in the lounge?

no you raise it here, that is fine, but sharing grade function codes need to be done by personal DM if a mentor asks you to share further.

Now comes to your query, the exercise in question for parameters dict, after that you do not need prompt part.

Also please refer the image instructions highlight, and do the correction for top_p and temperature

and you don’t need that default mention, only creative and technical

This is noted. Returning parameters dict was my first implementation, but the ensuing unit tests won’t pass with that implementation.

what does your failed unittest shows results? kindly post screenshot of that

Yes.

not if a mentor is doing a course and has a doubt, he can create a topic.

lounge category you can use when you need to report learner’s issue to staff.

Here willym is doing the assignment and had an issue with one of the test, then his selection of course category is right here.

I’ve seen the issue. I was generating params dict instead of just returning the param dict. Admittedly, param_dict and generate_params_dict sound related.

did you resolve your issue? your response isn’t clear.

let me know if I need to see your codes.
yes I did notice what mistake you were doing but all of your codes weren’t visible.

regards
dr.deepti