arkii commited on
Commit
7d93f65
1 Parent(s): 3da7b5e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +13 -0
README.md CHANGED
@@ -18,6 +18,19 @@ tags:
18
 
19
  Can be loaded and used by [chatglm.cpp](https://github.com/li-plus/chatglm.cpp)
20
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  ```
22
  chatglm -m ./models/chatglm2-6b-ggml.q8_0.bin -p 你好
23
  ```
 
18
 
19
  Can be loaded and used by [chatglm.cpp](https://github.com/li-plus/chatglm.cpp)
20
 
21
+ ## Integrated with langchain framework in CustomLLM form
22
+
23
+ [chatglm_langchain.py](chatglm_langchain.py)
24
+
25
+ ```
26
+ python chatglm_langchain.py
27
+
28
+ 小明的妈妈有两个孩子,一个叫大明,另外一个叫小明。
29
+ ```
30
+
31
+
32
+ ## Use under the shell command line
33
+
34
  ```
35
  chatglm -m ./models/chatglm2-6b-ggml.q8_0.bin -p 你好
36
  ```