Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

chat-bison model not able to answer in closed context.

I am using `chat-bison` model for chat-bot to answer question based on retrieved documents.  However, it answers questions from its own knowledge without caring about the context.

Here is a small experiment, I tried.

Example 2
d=[{'context': 'Please answer the user question based on only the CONTEXT provided. Do not answer of your own. CONTEXT: Sachin Tendulkar is a cricketer. He was born is 1980.', 'messages': [{'author': 'user', 'content': 'When was Sachin Tendulkar born?'}]}]

Answer by chat-bison model
Sachin Ramesh Tendulkar was born on April 24, 1973 in Mumbai, India. He is a former international cricketer who served as captain of the Indian national team. He is widely regarded as one of the greatest batsmen in the history of cricket.

Also, what are the values of `author` which depicts if its `user`, `bot`, `system`?

@mchrestkha1 

 

1 5 2,116
5 REPLIES 5