samelhousseini / km-openai Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
when I open helpers.py in vs code it gets like 13 problems and errors.
also when I run the flask app and asking it general questions not in my KB it answers me general answers.
The COSMOS_URI
and COSMOS_KEY
environment variables need to be set in the .env file in order to create the index via the experiment
notebook.
hello team,
there is an issue with the template. If you choose a different location than westerneurope the deployment fails because the serverFarm has location harcoded to West Europe:
original template:
I forked the repo and I have replaced "West Europe" with
[parameters('NewOpenAIResourceLocation')]
so that now it uses always the same location.
Looks like the Responsible AI terms needs to be agreed (a check box when deploying cognitive resources through Azure GUI).. The template has no provision for the same and fails in validation with the below error
{"code":"InvalidTemplateDeployment","details":[{"code":"ResourceKindRequireAcceptTerms","message":"This subscription cannot create CognitiveServices until you agree to Responsible AI terms for this resource. You can agree to Responsible AI terms by creating a resource through the Azure Portal then trying again. For more detail go to https://aka.ms/csrainotice"}],"message":"The template deployment 'Microsoft.Template-20230530170353' is not valid according to the validation procedure. The tracking id is '089e0507-f000-4a9c-94b8-6a794f633ac2'. See inner errors for details."}
I can use Flask to run app.py on my local machine. However, there doesn't seem to be any response when I test it on Azure Web App.
I noticed that the Azure Function - "BotQnAHTTPFunc" never gets triggered. Could you please provide more details on what needs to be done after deploying to Web App.
I was trying to make the answer to an unanswered question static.
I set the search_method in the request to ccr, and check_intent to false
However, I was unsure about the source of the answers in general. Is it only the ccr prompt that will affect them? or they will also be affected by the 4 other prompts?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.