feat: 使用langchain实现插件功能

This commit is contained in:
Hk-Gosuto
2023-07-22 15:38:44 +08:00
parent 9223f95726
commit 2bb421b8bf
12 changed files with 906 additions and 128 deletions

View File

@@ -38,7 +38,7 @@ export const DEFAULT_CONFIG = {
models: DEFAULT_MODELS as any as LLMModel[],
modelConfig: {
model: "gpt-3.5-turbo" as ModelType,
model: "gpt-3.5-turbo-0613" as ModelType,
temperature: 0.5,
top_p: 1,
max_tokens: 2000,