Skip to content

Commit

Permalink
Merge v0.10 to main (#210)
Browse files Browse the repository at this point in the history
* update chatopera to v1.0

* 0.10.51

* 0.10.52

* Update package.json

* add osschat faq

* 0.10.53

* 0.10.54

* Fix FAQ path (#191)

* Fix FAQ path

* 0.11.2

* 0.11.3

* add java wechaty website link

* Update wechaty.faqs.yml

* Update wechaty.faqs.yml

* Update wechaty.faqs.yml

* Update webank.ts (#193)

Modify the linkis project name to apache/incubator-linkis

* clean

* 0.10.55

* 0.10.56

* Closed #195 add chatroom for kaiyuanshe 故事集

* #195 update chatroom id for kaiyuanshe 故事集

* Add new group for ShenYu community (#199)

* add apache shenyu (incubating)

* add new group for ShenYu community

* Fix 故事集记录

* 0.10.57

* #200 add more faqs data

* add config file small-wu-pond (#202)

Co-authored-by: 吴志杰 <wzjhappy1314>

* small-wu-pond.ts eslint --fix (#203)

* add config file small-wu-pond

* fix eslint fix small-wu-pond.ts

Co-authored-by: 吴志杰 <wzjhappy1314>

* update BOT Friday Club Alumni room

* 0.10.57

* 0.10.58

* #206 add Chatopera智能客服-客户群03

* chatopera config lint

* add new group for Apache ShenYu community (#207)

* Create we-open-star.md

* Update README.md

Co-authored-by: Mukaiu <mukaiu@live.cn>
Co-authored-by: johnnywang <wpeace1212@gmail.com>
Co-authored-by: Hai Liang Wang <hain@chatopera.com>
Co-authored-by: Zhang Yonglun <zhangyonglun@apache.org>
Co-authored-by: Wuzhijieoooo <31843712+Wuzhijieoooo@users.noreply.github.com>
  • Loading branch information
6 people committed May 18, 2022
1 parent ccfe53f commit 1ab549b
Show file tree
Hide file tree
Showing 14 changed files with 186 additions and 32 deletions.
63 changes: 63 additions & 0 deletions .github/ISSUE_TEMPLATE/we-open-star.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---
name: '贡献指南- Issue 模板 '
about: 此模板仅用于 WeOpen Star 项目任务发布
title: "[WeOpen-Star-Issue]"
labels: help wanted
assignees: ''

---

# <center>xxx(项目名)贡献指南</center>

[English Version Here](https://github.com/weopenprojects/WeOpen-Star/issues/new?assignees=&labels=&template=contribution-guideline---issue-template.md&title=%5BWeOpen-Star-Issue%5D)


欢迎来到开源摘星计划-xxx(项目名)贡献专栏 。xxx(项目名)已加入开源摘星计划,该计划提供奖励以鼓励你加入我们的社区:所有参与本项目贡献的开发者都可获得相应贡献积分、奖励以及被评选为年度摘星100 人的机会,活动及奖励详情请见:[开源摘星计划](https://github.com/weopenprojects/WeOpen-Star)

📅活动时间:2022年5月-12月

## 🌟关于 xxx(项目名)
> 补充项目简介
### **以下是项目可参与的方向:**
1. 我们列出了适合首次加入 <span style="background:yellow;color:#000">xxx(项目名)</span>社区的贡献者的问题、适合对项目有足够了解的贡献者的特殊 issue 挑战(参见下面的列表)以及一些社区日常任务。如果你愿意解决,请点击该 issue 并在评论区留言“WeOpen Star”(日常及其他任务无需此操作)。提交 PR 时,请同时将 PR 链接到相应的 issue。

2. 对于成功完成任意任务的贡献者,为记录你的积分以及发放奖励,请自行前往你的积分主页记录。积分记录规则详见:[关于积分](https://github.com/weopenprojects/WeOpen-Star/tree/main/earn-points.md)


### **在开始贡献之前:**
- 请加入【开源摘星计划】社群

<span style="background:yellow;color:#000">请添加官方小助手微信(微信号:TCOS001)</span>
- 建议你通读我们的贡献指南

<span style="background:yellow;color:#000"> // 请项目自行补充社区贡献指南。</span>


### 🌟我们对贡献任务进行了分类,以帮助你找到你感兴趣的任务

### **社区日常任务**
> 积分奖励:1分/个
- 参与项目例会
- 提交 Issue/Comment

### **文档类**
> 积分奖励:10分/个
<span style="color:#000;background:yellow">// 补充 issue 名+链接</span>

### **编程类**
> 积分奖励:50分/个
<span style="color:#000;background:yellow">// 补充 issue 名+链接</span>

### **其他类**
**开源知识分享官**:提交对本项目的学习笔记或开源相关笔记(视频/文章皆可)并发布在任意社区/博客/视频平台即可申报积分。

> 积分奖励:10分
额外奖励:每月将为10名优秀笔记作者奖励QQ周边公仔、QQ音乐/腾讯视频年卡及腾源会T恤等好礼。

## **贡献帮助**

<span style="color:#000;background:yellow">// 补充社区联系邮件地址/联系人微信/</span>
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ OSSChat will serve users as a cloud service.
- [2020 中国开源年会暨阿帕奇中国路演 COSCon'20 & Apache Roadshow - China](http://coscon.kaiyuanshe.cn/), (intro [link](https://coscon.kaiyuanshe.cn/#activity/agenda?pid=135), video [link](http://coscon.kaiyuanshe.cn/#activity/agenda?pid=135))
- Read more [documention](https://osschat.readthedocs.io/en/latest/)

## HOT! OSS.Chat 加入 2022 年腾讯“开源摘星计划”

![开源摘星计划](https://raw.githubusercontent.com/weopenprojects/WeOpen-Star/main/assets/imgs/weopenstar.jpeg)

开源摘星计划(WeOpen Star) 是由腾源会 2022 年推出的全新项目,旨在为开源人提供成长激励,为开源项目提供成长支持,助力开发者更好地了解开源,更快地跨越鸿沟,参与到开源的具体贡献与实践中。

不管你是开源萌新,还是希望更深度参与开源贡献的老兵,跟随“开源摘星计划”开启你的开源之旅,从一篇学习笔记、到一段代码的提交,不断挖掘自己的潜能,最终成长为开源社区的“闪亮之星”。

详情:[OSS.Chat X 开源摘星计划](https://github.com/weopenprojects/WeOpen-Star/issues/38)

## Using OSSChat as a service

TBD
Expand Down
33 changes: 24 additions & 9 deletions faqs/chatopera.faqs.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,31 @@
chatopera/*:
简单的介绍下这个开源项目吧?:
简单的介绍下这个开源项目吧:
answers:
- 春松客服是面向中小型企业的智能客服系统。现有提供的功能可以参考我们的 README.md 文件。https://github.com/chatopera/cskefu/ 我们强调的智能客服主要是机器人客服以及辅助客服人员的一些功能。语音识别模块,以及我们已经发布的多轮对话设计器、智能问答引擎,很快会集成到春松客服中。 适用场景包括售前、对话营销。
多轮对话设计器、智能问答引擎,这两个集成后是开源的吗,还是付费使用?:
多轮对话设计器:
answers:
- 多轮对话设计器可以免费下载使用, 智能问答引擎还没有开源。参考Chatopera 云服务。
请问客户怎么接入:
- 多轮对话设计器可以免费下载使用, https://docs.chatopera.com/products/chatbot-platform/howto-guides/cde-install.html
请问客户怎么接入:
answers:
- 部署安装,配置使用。创建网站渠道,查看网站渠道详情有集成指南。
软件怎么收费?:
- 部署安装,配置使用。创建网站渠道,查看网站渠道详情有集成指南。 https://docs.chatopera.com/products/cskefu/channels/index.html
软件怎么收费:
answers:
- 基础模块不收费,商业插件和服务收费。参考开源项目地址主页介绍。
春松客服支持哪些渠道:
- 基础模块不收费,商业插件和服务收费。参考开源项目地址主页介绍。https://github.com/chatopera/cskefu
春松客服支持哪些渠道:
answers:
- 免费模块目前支持 PC,Mobile 浏览器,开源版本就可以。APP 需要对接 SDK,这个有额外的开发工作,我们可以定制开发。
- 免费模块目前支持 PC,Mobile 浏览器,开源版本就可以。APP 需要对接 SDK,这个有额外的开发工作,我们可以定制开发。
elasticsearch 版本:
answers:
- 现在春松客服使用的 ES 版本是 v2.4.6,春松客服中间件的版本参考这里,https://github.com/chatopera/cskefu/blob/osc/docker-compose.yml
机器人怎么设置常见问题:
answers:
- 参考机器人使用文档,https://docs.chatopera.com/products/cskefu/work-chatbot/message-types.html
nginx 代理:
answers:
- 反向代理,负载均衡配置,参考文档 https://blog.csdn.net/samurais/article/details/105820829
呼叫中心:
answers:
- 呼叫中心可定制,现在没有做完,和商务人员联系得到最新的状态 https://www.chatopera.com/mail.html
小程序接入:
answers:
- 春松客服网站渠道的 H5 页面,兼容移动客户端浏览器、小程序;微信小程序原生 APP 参考 https://github.com/chatopera/cskefu-wxapp
4 changes: 4 additions & 0 deletions faqs/hailiang-wang.faqs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
hailiang-wang/issues:
春松客服官网:
answers:
- 春松客服:做好开源客服系统,官网地址 https://www.cskefu.com/
25 changes: 25 additions & 0 deletions faqs/kaiyuanshe.faqs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# 其中,chatopera/* 与 chatopera.ts 里的 Repo 匹配格式一致;其次,每个 FAQ 问答对的形式如下:
# @see https://github.com/kaiyuanshe/osschat/wiki/How-to-setup-auto-reply-with-Chatopera
#
# ```yaml
# {{问题}}:
# categories: {{x/y/z}}
# answers:
# - {{答案}}
# extends:
# - {{扩展问1}}
# - {{扩展问2}}
# ```
#
kaiyuanshe/osschat:
什么是 Chatopera:
answers:
- Chatopera 是春松客服公司提供面向中小型企业的智能客服系统。可以参阅 https://github.com/chatopera/cskefu/ 。我们强调的智能客服主要是机器人客服以及辅助客服人员的一些功能。语音识别模块,以及我们已经发布的多轮对话设计器、智能问答引擎,很快会集成到春松客服中。 适用场景包括售前、对话营销。
什么是 OSSChat:
answers:
- The mission of the OSS.Chat project is to bridge the three-way communication and translation barriers between WeChat and other social platforms (future) and GitHub Issues and mailing lists to the open-source development community, making ASF's cultural, technical, and collaborative processes acceptable quickly and easily, rather than stumbling from the start. Learn more from https://wechaty.js.org/docs/showcases/osschat-bot

kaiyuanshe/tasks:
故事集记录:
answers:
- "查看 Issues 列表,https://github.com/kaiyuanshe/tasks/issues (使用 Labels: s100)"
9 changes: 8 additions & 1 deletion faqs/wechaty.faqs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# 其中,chatopera/* 与 chatopera.ts 里的 Repo 匹配格式一致;其次,每个 FAQ 问答对的形式如下:
# @see https://github.com/kaiyuanshe/osschat/wiki/How-to-setup-auto-reply-with-Chatopera
#
# ```yaml
# {{问题}}:
Expand All @@ -11,6 +10,8 @@
# - {{扩展问2}}
# ```
#
# @see https://github.com/kaiyuanshe/osschat/wiki/How-to-setup-auto-reply-with-Chatopera
#
wechaty/wechaty:
Ding:
extends:
Expand All @@ -27,3 +28,9 @@ wechaty/wechaty:
免费 Web 协议怎么用:
answers:
- To learn more about Wechaty Puppet Provider, please visit Wechaty official website at https://wechaty.js.org/docs/puppet-providers/
java 版本找不到了,哪个大佬发一下地址:
answers:
- Java Wechaty official website is https://wechaty.js.org/docs/polyglot/java/
撤回图片的时候,怎么解析那段东西:
answers:
- You are welcome to read the source code and to see if you can find the solution from it, or file an issue on GitHub to describe the question to be clear so that other developers can read and know your problem. https://github.com/wechaty/wechaty
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "osschat",
"version": "0.11.1",
"version": "0.10.58",
"description": "Apache OSSChat",
"main": "index.js",
"type": "module",
Expand Down Expand Up @@ -52,7 +52,7 @@
"rx-queue": "^0.12.6",
"smee-client": "^1.2.2",
"wechaty": "^0.68.1",
"wechaty-chatopera": "0.4.2",
"wechaty-chatopera": "^1.0.2",
"wechaty-ducks-contrib": "^0.3.6",
"wechaty-plugin-contrib": "^0.14.23",
"wechaty-puppet": "^0.41.9",
Expand Down
2 changes: 2 additions & 0 deletions src/config-projects/apache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ export const config: RepoConfig = {
'20052698015@chatroom',
'21232173020@chatroom',
'19502430226@chatroom',
'18270639113@chatroom',
'19688037436@chatroom',
],
}

Expand Down
4 changes: 3 additions & 1 deletion src/config-projects/chatopera.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ import type { RepoConfig } from './config.js'
export const config: RepoConfig = {
'chatopera/*': [
/* Chatopera智能客服-客户群 */ '22888396746@chatroom',
/* Chatopera智能客服-客户群02 */ '25014086676@chatroom'],
/* Chatopera智能客服-客户群02 */ '25014086676@chatroom',
/* Chatopera智能客服-客户群03 */ '25479704194@chatroom',
],
}

export default config
3 changes: 3 additions & 0 deletions src/config-projects/kaiyuanshe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ export const config: RepoConfig = {
'17591588552@chatroom', // OSSChat PMC
'17384390178@chatroom', // OSSChat Pilot Group
],
'kaiyuanshe/tasks' : [
'24033011336@chatroom', // To track kaiyuanshe ongoing tasks.
],
}

export default config
2 changes: 2 additions & 0 deletions src/config-projects/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import tensorflowBook from './tensorflow-book.js'
import webank from './webank.js'
import wechaty from './wechaty.js'
import zixia from './zixia.js'
import smallWuPond from './small-wu-pond.js'

// others
import others from './others.js'
Expand All @@ -38,6 +39,7 @@ export const projectsRepoConfig = {
...bjNodejsClube,
...chatopera,
...hailiangWang,
...smallWuPond,

// others
...others,
Expand Down
26 changes: 26 additions & 0 deletions src/config-projects/small-wu-pond.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import type { RepoConfig } from './config.js'
const roomConfig = {
'21688825081@chatroom': [
'Wuzhijieoooo/HelloGitHub',
'Wuzhijieoooo/fe-interview',
'Wuzhijieoooo/Learn-Git-in-30-days',
'Wuzhijieoooo/oss-chat',
],
}

export interface RepoConfigEx {
[repoMatch: string]: string[],
}

const config: RepoConfigEx = {}

Object
.entries(roomConfig)
.forEach(([roomId, repoList]) => repoList.forEach(repo => {
config[repo] = [
...(config[repo] || []),
roomId,
]
}))

export default config as RepoConfig
24 changes: 13 additions & 11 deletions src/config-projects/wechaty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,18 @@ import type { RepoConfig } from './config.js'
const roomConfig = {
'17275396976@chatroom': [ // Wechaty Developers' Headquarters
'juzibot/donut-tester',
'wechaty/*wechaty*',
'wechaty/friday',
'wechaty/summer*',
'wechaty/wechaty.js.org',
'wechaty/wishlist',
'wechaty/*',
// 'wechaty/*wechaty*',
// 'wechaty/friday',
// 'wechaty/summer*',
// 'wechaty/wechaty.js.org',
// 'wechaty/wishlist',
],
'18324919941@chatroom': [ // Summer of Wechaty Students
'wechaty/summer*',
],
'18825797159@chatroom': [ // Bot Friday Open Forum 2021
// '18825797159@chatroom': Bot Friday Open Forum 2021
'19244336373@chatroom': [ // BOT5 Club Alumni 2022
'wechaty/bot5',
'wechaty/friday',
],
Expand Down Expand Up @@ -84,13 +86,13 @@ const roomConfig = {
],
'21148500489@chatroom': [ // TypeScript Wechaty User Group
'wechaty/wechaty',
'wechaty/*puppet-service',
'wechaty/*plugin*',
'wechaty/*vorpal*',
'wechaty/*redux*',
'wechaty/puppet-service',
'wechaty/plugin*',
'wechaty/vorpal*',
'wechaty/redux*',
'wechaty/cli',
'wechaty/friday',
'wechaty/*getting-started',
'wechaty/getting-started',
],

}
Expand Down
9 changes: 1 addition & 8 deletions src/plugins/chatopera.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ import {
projectsRepoConfig,
} from '../config-projects/mod.js'

import {
fileURLToPath,
} from 'url'

import path from 'path'

let plugin: undefined | WechatyPlugin
Expand All @@ -22,13 +18,10 @@ if (
(process.env['CHATOPERA_DEFAULT_CLIENTID'] && process.env['CHATOPERA_DEFAULT_SECRET'])
|| process.env['CHATOPERA_PERSONAL_ACC_TOKEN']
) {

const __dirname = path.dirname(fileURLToPath(import.meta.url))

plugin = WechatyChatopera({
clientId: process.env['CHATOPERA_DEFAULT_CLIENTID'],
faqBestReplyThreshold: process.env['CHATOPERA_FAQ_BESTREPLY_THRES'] ? parseFloat(process.env['CHATOPERA_FAQ_BESTREPLY_THRES']) : undefined,
faqPath: path.join(__dirname, '../../../faqs'),
faqPath: path.resolve('./faqs'),
faqSuggReplyThreshold: process.env['CHATOPERA_FAQ_SUGGREPLY_THRES'] ? parseFloat(process.env['CHATOPERA_FAQ_SUGGREPLY_THRES']) : undefined,
mention: false,
personalAccessToken: process.env['CHATOPERA_PERSONAL_ACC_TOKEN'],
Expand Down

0 comments on commit 1ab549b

Please sign in to comment.