Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-api
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poc
poc-api
Commits
0d05fe25
Commit
0d05fe25
authored
Nov 14, 2024
by
alex yao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改memory_variable_writer 函数描述
parent
29697fc3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
MemoryVariableWriterFunction.java
.../memory_variable_writer/MemoryVariableWriterFunction.java
+2
-2
No files found.
src/main/java/cn/com/poc/thirdparty/resource/demand/ai/function/memory_variable_writer/MemoryVariableWriterFunction.java
View file @
0d05fe25
...
@@ -22,10 +22,10 @@ import java.util.Map;
...
@@ -22,10 +22,10 @@ import java.util.Map;
public
class
MemoryVariableWriterFunction
extends
AbstractLargeModelFunction
{
public
class
MemoryVariableWriterFunction
extends
AbstractLargeModelFunction
{
private
final
String
DESC
=
"该方法
仅用enum给定的内容名来保存用户想记录的内容值,不可使用该方法
进行查询"
;
private
final
String
DESC
=
"该方法
参考key字段给出的内容键,来保存对应的内容值,该方法不可
进行查询"
;
private
final
String
LLM_JSON_SCHEMA
=
"{\n"
+
private
final
String
LLM_JSON_SCHEMA
=
"{\n"
+
" \"description\": \""
+
DESC
+
"\"
\n,
"
+
" \"description\": \""
+
DESC
+
"\"
,\n
"
+
" \"type\": \"function\",\n"
+
" \"type\": \"function\",\n"
+
" \"function\": {\n"
+
" \"function\": {\n"
+
" \"name\": \"memory_variable_writer\",\n"
+
" \"name\": \"memory_variable_writer\",\n"
+
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment