Commit 29697fc3 authored by alex yao's avatar alex yao

fix:memory_variable_writer 函数描述

parent db5114aa
...@@ -25,6 +25,7 @@ public class MemoryVariableWriterFunction extends AbstractLargeModelFunction { ...@@ -25,6 +25,7 @@ public class MemoryVariableWriterFunction extends AbstractLargeModelFunction {
private final String DESC = "该方法仅用enum给定的内容名来保存用户想记录的内容值,不可使用该方法进行查询"; private final String DESC = "该方法仅用enum给定的内容名来保存用户想记录的内容值,不可使用该方法进行查询";
private final String LLM_JSON_SCHEMA = "{\n" + private final String LLM_JSON_SCHEMA = "{\n" +
" \"description\": \"" + DESC + "\"\n," +
" \"type\": \"function\",\n" + " \"type\": \"function\",\n" +
" \"function\": {\n" + " \"function\": {\n" +
" \"name\": \"memory_variable_writer\",\n" + " \"name\": \"memory_variable_writer\",\n" +
...@@ -41,9 +42,8 @@ public class MemoryVariableWriterFunction extends AbstractLargeModelFunction { ...@@ -41,9 +42,8 @@ public class MemoryVariableWriterFunction extends AbstractLargeModelFunction {
" \"description\": \"内容值\"\n" + " \"description\": \"内容值\"\n" +
" }\n" + " }\n" +
" }\n" + " }\n" +
" },\n" + " }\n" +
" \"description\": \"" + DESC + "\"\n" + " }\n" +
" },\n" +
" }"; " }";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment