Results 25 comments of Mike

Hi @adrianoaraujocoelho I did look at #35 but it is not working :(

@adrianoaraujocoelho Yes I did it fails to upload document most likely due to authorization issue

Hi @nhtkid I agree with you 100%, please look at https://github.com/Azure-Samples/azure-search-openai-demo/issues/225

Yes this is the case we need to implement system to prevent this from happening.

> Update the system message in approaches/crr to tell assistant to answer strictly from the sources below and do not generate responses from the GPT knowledge. I have tried this...

{'error': 'This request is not authorized to perform this operation using this permission.\nRequestId:36f8347b-b01e-0065-4ba2-8dc669000000\nTime:2023-05-23T18:17:38.0661381Z\nErrorCode:AuthorizationPermissionMismatch\nContent: AuthorizationPermissionMismatchThis request is not authorized to perform this operation using this permission.\nRequestId:36f8347b-b01e-0065-4ba2-8dc669000000\nTime:2023-05-23T18:17:38.0661381Z'} I get his @lordlinus how...

We should work on predocs functionally...

look into app/backend/approaches for each approach you have prompt example for chatreadretrieveread.py completion = openai.Completion.create( engine=self.chatgpt_deployment, prompt=prompt, temperature=overrides.get("temperature") or 0.7, max_tokens=1024, n=1, stop=["", ""])

@anderl80 here you can take this PR as example https://github.com/Azure-Samples/azure-search-openai-demo/pull/54 and use it to reproduce for other settings also there is **Override prompt template** in latest version so you can...