feat: initialize terminal chat example with streaming and memory
This commit is contained in:
commit
43fc905c82
13 files changed
+666
No files matched your search
@@ -0,0 +1,8 @@
|
||||
package opt
|
||||
|
||||
const SYSTEM_PROMPT = `你是一个可靠、务实的对话助手。默认使用中文,回答准确、清晰、简洁。不确定时如实说明,必要时向用户澄清。涉及代码时,优先给出简单、直接、可运行的实现。`
|
||||
|
||||
const (
|
||||
MIN_TOKEN = 1024
|
||||
RESPONSE_CHAN_SIZE = 32
|
||||
)
|
||||
Reference in new issue
Block a user