New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

yunqa-ui

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yunqa-ui

A user interface for yunQA

latest
npmnpm
Version
1.0.8
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

cdqa-ui

Build Status NPM Version NPM Downloads GitHub

A user interface for cdQA

Table of contents

新问题

Installation

npm install cdqa-ui

Import

import Vue from 'vue'
import yunQaUI from 'cdqa-ui'

Vue.use(yunQaUI)

cdqa-ui relies on bootstrap-vue, an external dependency that is not bundled with the component. Therefore you also need to import bootstrap-vue in your app entrypoint:

import Vue from 'vue'
import BootstrapVue from "bootstrap-vue"

Vue.use(BootstrapVue)

import "bootstrap/dist/css/bootstrap.css"
import "bootstrap-vue/dist/bootstrap-vue.css"

Usage

<yunQaUI api_endpoint_cpu="http://localhost:5000/api" :queries_examples="['What is Artificial Intelligence?', 'What is Blockchain?']"></yunQaUI>

Demo

Check our demo live at: https://cdqa-suite.github.io/cdQA-website

Properties

NameTypeDefaultDescription
api_endpoint_cpustringhttp://localhost:5000/apiThe url of your cdQA REST API on CPU.
api_endpoint_gpustringhttp://localhost:5000/apiThe url of your cdQA REST API on GPU.
queries_examplesarray['What is artificial intelligence?', 'What is natural language processing?']The list of example queries.

Development

Clone the repository

git clone https://github.com/cdqa-suite/cdQA-ui
cd cdQA-ui

Install package

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

This repo is based on vue-sfc-rollup, a minimal setup to produce npm-ready vue components. Releases are done automatically on master pushes (see travis.yml).

License

Apache-2.0

Keywords

reading-comprehension

FAQs

Package last updated on 22 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts