Code Monkey home page Code Monkey logo

km-openai's People

Contributors

hmoazam avatar samelhousseini avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

km-openai's Issues

Issues in helper.py

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.

Issue with location of the Server Farm

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:

image

I forked the repo and I have replaced "West Europe" with

[parameters('NewOpenAIResourceLocation')]

so that now it uses always the same location.

Unable to deploy - Fails validation error

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."}

Works well on local, but no response on Azure Web App

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.

Final answer source

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.