Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import BOT FAQs when setup bot on starting #175

Open
hailiang-wang opened this issue Oct 10, 2021 · 3 comments
Open

Import BOT FAQs when setup bot on starting #175

hailiang-wang opened this issue Oct 10, 2021 · 3 comments
Assignees
Labels
task Steps to fulfill a user story

Comments

@hailiang-wang
Copy link
Collaborator

hailiang-wang commented Oct 10, 2021

Description

parent #153

For each config-projects, add a peer faq file like

src/config-projects/chatopera.faqs.yml

Which would be configured as FAQs for src/config-projects/chatopera.ts .

image

src/config-projects/chatopera.faqs.yml would be in a format like

- chatopera/*
   - {{Question1}}
       - categories: x / y / z
       - answers:
           - {{A1}}
           - {{A2}}
           - {{A3}}
       - extends:
           - {{E1}}
           - {{E2}}
           - {{E3}}
   ...

Everytime OSSChat restart or start, reload these FAQs and import into Chatopera BOT, updates, deleltion, creation should be under considered.

@hailiang-wang hailiang-wang added the task Steps to fulfill a user story label Oct 10, 2021
mukaiu added a commit to chatopera/chatopera-nodejs-sdk that referenced this issue Oct 22, 2021
mukaiu added a commit to wechaty/plugin-chatopera that referenced this issue Oct 22, 2021
mukaiu added a commit to chatopera/osschat that referenced this issue Oct 22, 2021
mukaiu added a commit to chatopera/osschat that referenced this issue Oct 22, 2021
mukaiu added a commit to wechaty/plugin-chatopera that referenced this issue Oct 22, 2021
mukaiu added a commit to chatopera/osschat that referenced this issue Oct 22, 2021
mukaiu added a commit to wechaty/plugin-chatopera that referenced this issue Oct 25, 2021
mukaiu added a commit to wechaty/plugin-chatopera that referenced this issue Oct 25, 2021
mukaiu added a commit to wechaty/plugin-chatopera that referenced this issue Oct 26, 2021
mukaiu added a commit to wechaty/plugin-chatopera that referenced this issue Oct 27, 2021
mukaiu added a commit to chatopera/osschat that referenced this issue Oct 27, 2021
mukaiu added a commit to chatopera/osschat that referenced this issue Oct 27, 2021
@mukaiu
Copy link
Collaborator

mukaiu commented Oct 29, 2021

BOT 启动时候扫描 FAQ 目录,同步数据到知识库

FAQ数据目录 faqs

参考文件 faqs/chatopera.faqs.yml

format

chatopera/*:
  简单的介绍下这个开源项目吧?:
      - categories: x/y/z
      - answers:
          - 答案
      - extends:
          - 扩展问1
          - 扩展问2
          - 扩展问3

@hailiang-wang

huan pushed a commit that referenced this issue Nov 1, 2021
* #153 add test profile

* #153 Add demo repo and upgrade chatopera plugin for mapping bot per project

* #153 Add demo repo and upgrade chatopera plugin for mapping bot per project

* 0.10.34

* 0.10.35

* #153 enable a single bot per github owner with star

* 0.10.36

* 0.10.38

* #175 import Bot FAQ on starting

* 0.10.39

* 0.10.40

* #175 resolve __dirname

* #175 fix default config

* add BJ NodeJS Club

Co-authored-by: mukaiu <[email protected]>
mukaiu added a commit to chatopera/osschat that referenced this issue Nov 1, 2021
@hailiang-wang
Copy link
Collaborator Author

标点符号去掉美观整洁。

image

@hailiang-wang
Copy link
Collaborator Author

?: 看起来会像一个特殊的约定。

huan pushed a commit that referenced this issue Nov 3, 2021
* #153 add test profile

* #153 Add demo repo and upgrade chatopera plugin for mapping bot per project

* #153 Add demo repo and upgrade chatopera plugin for mapping bot per project

* 0.10.34

* 0.10.35

* #153 enable a single bot per github owner with star

* 0.10.36

* 0.10.38

* #175 import Bot FAQ on starting

* 0.10.39

* 0.10.40

* #175 resolve __dirname

* #175 fix default config

* add BJ NodeJS Club

* #175 add ding dong sample

Co-authored-by: Hai Liang Wang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task Steps to fulfill a user story
Projects
None yet
Development

No branches or pull requests

2 participants