kaiyuanshe / kaiyuanshe/osschat

Import BOT FAQs when setup bot on starting

Open
#175 3 comments 0 reactions 1 assignee Claimed by @mukaiu View on GitHub
task
Dominant language
TypeScript
Stars
186
Forks
45
PR merge metrics
No merged PRs in 30d

Description

# 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](https://user-images.githubusercontent.com/3538629/136678052-c66fcc69-74a0-4294-93a6-97dd31ae4a37.png)

```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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.