kaba 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.dockerignore +2 -1
- data/README.md +9 -3
- data/exe/kaba +1 -1
- data/lib/kaba/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73fe981d3fc1a765b78b603f5f04ee8cd23514cc620f601e437363b158362d8b
|
4
|
+
data.tar.gz: bac9dcf38f519286ac2d9d1fd2b24ff3f1c2dabf3a0c85a93b761394f6d13db8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f60669e92bc3851fe7c481d2271d64cca8cfc1c1e67ffeb2e6ce24c0749171366360b330cfa7e9453e1a30876fbfcdc2c41cd42ef5de97a1a3a31e1000d4f35
|
7
|
+
data.tar.gz: 2139393a5569187cb8d7b5a32d9a641b33f26b93ac0c8b799ac991aad2db965db8d755d23850895af16f95c15518a8b9f6ca58df6d16e1497763c58d0498a071
|
data/.dockerignore
CHANGED
data/README.md
CHANGED
@@ -17,11 +17,17 @@ alias kaba='docker run -it --rm -v "${PWD}:/workdir" ghcr.io/mjason/kaba:latest'
|
|
17
17
|
```
|
18
18
|
|
19
19
|
## 目录结构说明
|
20
|
-
|
21
|
-
## 目录结构
|
20
|
+
你的项目目录必须有 data 目录
|
22
21
|
- data
|
23
22
|
- row
|
23
|
+
- *.target.json
|
24
|
+
- *.input.txt
|
24
25
|
- schema
|
26
|
+
- *.ts
|
27
|
+
|
28
|
+
`*`代表文件名,随你喜欢,一般推荐用数字即可,schema 怎么定义直接看 typechat 文档就好了。
|
25
29
|
|
26
|
-
##
|
30
|
+
## 关联项目
|
31
|
+
- [lisa_typechat_server](https://github.com/mjason/lisa_typechat_server)
|
27
32
|
|
33
|
+
如果要修改服务地址你有两个方式,一个通过 `.env` 来处理,还有就是自己设置环境变量,变量名 `LISA_TYPECHAT_ENDPOINT`
|
data/exe/kaba
CHANGED
@@ -16,7 +16,7 @@ Dotenv.load
|
|
16
16
|
class Application
|
17
17
|
class << self
|
18
18
|
def connection
|
19
|
-
endpoint = ENV["LISA_TYPECHAT_ENDPOINT"] || "
|
19
|
+
endpoint = ENV["LISA_TYPECHAT_ENDPOINT"] || "https://lisa-typechat.listenai.com"
|
20
20
|
@connection ||= Faraday.new(endpoint) do |faraday|
|
21
21
|
faraday.adapter :async_http, clients: Async::HTTP::Faraday::PersistentClients
|
22
22
|
faraday.request :json
|
data/lib/kaba/version.rb
CHANGED