Am developing a chatbot for HR. I've uploaded som dokuments to make the chatbot use generative answers function to answe based on the dokuments that i've uploaded. Sometimes answers the questions perfectly but sometimes he gives wrong answers even thogh it's the same question. Can someone explain why it happens? How can i make him smarter to answer the questions and understanding them?
To make your chatbot smarter and more effective in understanding and answering questions:
Fine-tune the Model: Continuously train and fine-tune your chatbot using additional data, including feedback from user interactions. This can help improve its ability to understand and respond to queries accurately.
Implement NLP Techniques: Utilize Natural Language Processing (NLP) techniques such as named entity recognition, sentiment analysis, and context modeling to enhance the chatbot's understanding of user queries and context.
Feedback Loop: Implement a feedback loop mechanism where users can provide feedback on the accuracy and relevance of the chatbot's responses. This feedback can be used to iteratively improve the model over time.
Regular Updates: Keep updating the chatbot with new documents, data, and improvements to ensure it stays relevant and up-to-date with the latest information and trends in HR.
@Ameeralkarmo - keep in mind what you are using is a Large Language Model. It basically takes a text input and computes the most probably completion - so there is no concept of "understanding".
You have to be mindful that changing a question in the slightest (adding "please" for example) might change the output (as it is determined as a probability).
What you can try is playing with Custom Instructions. These instructions become part of the models prompt and influence amongst others the tone and format of the responses:
Enhance your copilot's responses with prompt modification - Microsoft Copilot Studio | Microsoft Learn
Also take a look at this guide for prompting (which is applicable to the GPT family of LLMs) to help you with possible instructions to the model:
Prompt engineering - OpenAI API
Romain The Low-Code...
23
Pablo Roldan
16
stampcoin
10