fix:gorm not autoIncrement && update doc

This commit is contained in:
Sakurasan
2023-06-12 21:32:27 +08:00
parent 06bd5e048b
commit 933a70a474
12 changed files with 127 additions and 52 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View File

@@ -15,3 +15,6 @@
- key name以 azure.[resource name]的方式添加
- 密钥任取一个
- <img src="./azure_openai_for_team.png" alt="azure_openai_for_team" height="600">
- [AMA(问天)](http://bytemyth.com/ama) 使用方式
- ![](azure_ama.png)
- 每个 team server 用户旁边有一个复制按钮,点击后,把复制的链接粘贴到浏览器,可以一键设置

BIN
doc/azure_ama.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

24
doc/pandola.md Normal file
View File

@@ -0,0 +1,24 @@
# pandola for team
pandola是一个把ChatGPT(web/App)接口化的项目,可以看做是第三方 OpenAI API 提供方(接口和OpenAI一致)
## 准备
- https://ai.fakeopen.com/auth1 获取accesstoken
- https://ai.fakeopen.com/token 创建apikey
## 客户端设置
1.添加接口
![](ama_pandola_provider.png)
2.创建用户&Copy Config
![](ama_pandola_copy_config.png)
Ex:`ama://set-api-key?server=http%3A%2F%2F123.456.7.89&key=8fc322fa-15d2-43d7-bc59-621554e82c2a`
3.Configure Client
![](ama_pandola_config_client.png)
3.测试聊天
![](ama_pandola_chat_test.png)