illegalargumentexception: Example has 2 inputs but prompt has 1 input

Niladri
Niladri Registered Posts: 6

Hi I'm new to dataiku. I'm using dataiku 13.1. I have a dataset with Area name & I have to find the country in which the area belongs to. I have to do it using AI prompt. My dataset is around 2100 records. I want one country value for each region. So in my Prompt & LLM settings I'm providing prompt as "Find the country in which following region is located?" I'm also providing examples of my desired output by providing region name as input & country name as output. I also specified my dataset column name as input.

I'm using AWS bedrock models & Azure Open AI model as my LLM. But irrespective of the models, I'm getting error message saying illegalargumentexception: Example has 2 inputs but prompt has 1 input

Sorry, I can't able to share my data or screen shot of my prompt as it is my client data. Can you please help me to resolve this issue?

Operating system used: Windows

Answers

Setup Info
    Tags
      Help me…