add SetSSKey for register in gojs
This commit is contained in:
		
							parent
							
								
									2931239ee4
								
							
						
					
					
						commit
						d4009cf0c3
					
				
							
								
								
									
										24
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										24
									
								
								README.md
									
									
									
									
									
								
							@ -1,22 +1,5 @@
 | 
			
		||||
# AI大模型低代码工具
 | 
			
		||||
 | 
			
		||||
## 命令行工具
 | 
			
		||||
 | 
			
		||||
### Install
 | 
			
		||||
 | 
			
		||||
```shell
 | 
			
		||||
go install apigo.cc/ai/llm/llm-cli@latest
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Usage
 | 
			
		||||
 | 
			
		||||
```shell
 | 
			
		||||
llm-cli -h | help		show usage
 | 
			
		||||
llm-cli -e | export		export ai.ts file for develop
 | 
			
		||||
llm-cli test.js			run test.js, if not specified, run ai.js
 | 
			
		||||
llm-cli -w | watch test.js	run test.js, if .js files changed will be reloaded
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Sample
 | 
			
		||||
 | 
			
		||||
#### test.js
 | 
			
		||||
@ -34,12 +17,6 @@ function main(...args) {
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
#### run sample
 | 
			
		||||
 | 
			
		||||
```shell
 | 
			
		||||
llm-cli test.js "你好"
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Configure
 | 
			
		||||
 | 
			
		||||
#### env.yml
 | 
			
		||||
@ -85,6 +62,7 @@ package main
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	_ "apigo.cc/ai/llm"
 | 
			
		||||
	_ "apigo.cc/ai/zhipu"
 | 
			
		||||
	"apigo.cc/gojs"
 | 
			
		||||
	_ "apigo.cc/gojs/console"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user