Git Product home page Git Product logo

denim2x / web-knowledge-assistant Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 130 KB

An engaging virtual assistant capable of answering arbitrary open-ended questions

License: MIT License

Python 74.12% JavaScript 9.18% HTML 4.75% CSS 11.95%
azure python3 azure-app-service qna-maker azure-storage azure-storage-table cognitive-answer-search azure-cognitive-services nlp natural-language-processing

web-knowledge-assistant's Introduction

Web Knowledge Assistant

An engaging virtual assistant capable of answering arbitrary open-ended questions

Architecture

Workflow

  • the user is greeted with an introductory message from QnA Maker
  • the user may submit a message (usually a question) using the input area
  • the server sends the question to QnA Maker and obtains a preliminary list of answers
  • if there are no relevant answers in the list, the query is first searched in the database, according to a specialized similarity metric
  • if any relevant entries are found then the best answer is shown; otherwise the query is forwarded to Answer Search
  • the search results are then sorted according to the same similarity metric against the query together with the previous answer's caption (if available)
  • the best answer, if available, is shown to the user
  • this process can be repeated indefinitely

Setup

Requirements

  • <project root>/config.yaml with the following:
azure:
  storage:
    account: ...
    key: <admin key>
  qna_maker:
    host: ...
    kb: ...
    key: ...
  cognitive:
    answer_search: <api_key>

MIT License

web-knowledge-assistant's People

Contributors

denim2x avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

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.