Slot = slot_class(slot_name, **slot_dict[slot_name]) TypeError: __init__() got an unexpected keyword argument 'values'

@minakshimathpal Thanks for sharing but it does not have a complete file. It’s ok me seeing your code only.

@minakshimathpal this one is text or categorical


reference:
    type: text
    values:
      - image
      - link
    mappings:
      - type: from_entity
        entity: reference

@nik202 text

@minakshimathpal can you change this with


  mappings:
      - type: from_entity
        entity: colour
 mappings:
    - type: custom

I have a doubt on this.

@nik202 actually i have intent named reference where for now i have hard coded few links…

@minakshimathpal ?? not get you Minakshi

@nik202 i mean here but i think if i have set type as text then it should not have values keyword i guess

reference:
    type: text
    values:
      - image
      - link
    mappings:
      - type: from_entity
        entity: reference

@nik202 ``` mappings: - type: from_entity entity: colour


mappings: - type: custom

here i will make it a point to implement it using custom actions

@minakshimathpal

delete this

 values:
      - image
      - link

and run please.

Please delete older trained model also and train again.

@minakshimathpal I was just checking, It fine we can use entity.

@nik202 yep…thank you…I am executing it

@minakshimathpal its running now?

@nik202 yep…its running…ohh such a shy of relief…Thank you being here with me

@minakshimathpal Please close this thread as a solution. Glad it’s solved :pray:

@nik202 thank you