Seeking help for c1m4 assignment Retrieval Augmented Generation (RAG)

prompt = f"“”
Classify the query as ‘creative’ or ‘technical’.

creative = requests for style suggestions, outfit ideas, or creating a look for a person or occasion.
technical = requests for specific items from the catalogue, including colors, prices, or product details.

Examples:

  • “Give me three trousers with vibrant colors you have in your catalogue.” → technical
  • “Create a look for a woman walking in a park on a sunny day. It must be fresh due to hot weather.” → creative
  • “give some suggestion for accessory.” → creative
    Return only one word: creative or technical.

Query: {query}
“”" how to correct this prompt

1 Like

{mentor edit: code image removed}

1 Like

Dear @Preeja,

Welcome to the Community!

Please send me the code via direct message.
You can do this by clicking on my name and then click Message.
Kindly note that sharing code in the community is against the code of conduct, so please do not post it here.


Keep Learning AI with DeepLearning.AI - Girijesh