Replies: 5 comments 10 replies
-
perhaps you should add prompt "you can only read in provided doc,don't search in internet". hope it helps. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Do you have C# program experience ? You can use semantic kernel class and Plugins class to solve this problem. Or try put you prompt add in SystemDescription " " . hope it helps. |
Beta Was this translation helpful? Give feedback.
-
@kacheng24 , I ran a very quick test. dotnet user-secrets set "KernelMemory:Services:AzureOpenAIText:APIKey" "[AZURE_OPENAI_KEY" Then I used the default settings and uploaded a text file and was able to ask questions about it. This is what the UI looked like Suggestion: Try to get to this point, using those default settings. Then we can change the VectorDB to AI Search one config at a time. |
Beta Was this translation helpful? Give feedback.
-
To respond to the original question. I have had success grounding the ChatCopilot app's responses to Documents uploaded by replacing the following text with the existing "Persona" value in the app. Respond with "I cannot answer your question based on the information provided." for all questions, unless the answer to the question is found in the chat memories |
Beta Was this translation helpful? Give feedback.
-
The bot is running on local and I was able to upload some Words documents. However, what the bot answers sounds like from the internet and none is from the uploaded documents. Did I upload wrong type of documents? And how to make the bot to answer only from the doc provided? Hope you would give me some directions to try. Thanks
Beta Was this translation helpful? Give feedback.
All reactions