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
a13fec29
Commit
a13fec29
authored
Dec 03, 2024
by
alex yao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: null --bug==1009510
parent
958c6d1d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
Function.java
...irdparty/resource/demand/ai/function/entity/Function.java
+14
-0
FunctionLLMConfig.java
...resource/demand/ai/function/entity/FunctionLLMConfig.java
+1
-0
No files found.
src/main/java/cn/com/poc/thirdparty/resource/demand/ai/function/entity/Function.java
View file @
a13fec29
...
...
@@ -12,6 +12,12 @@ public class Function {
*/
private
Parameters
parameters
;
/**
* 函数描述
*/
private
String
description
;
public
Function
()
{
}
...
...
@@ -30,4 +36,12 @@ public class Function {
public
void
setParameters
(
Parameters
parameters
)
{
this
.
parameters
=
parameters
;
}
public
String
getDescription
()
{
return
description
;
}
public
void
setDescription
(
String
description
)
{
this
.
description
=
description
;
}
}
src/main/java/cn/com/poc/thirdparty/resource/demand/ai/function/entity/FunctionLLMConfig.java
View file @
a13fec29
...
...
@@ -48,6 +48,7 @@ public class FunctionLLMConfig {
public
FunctionLLMConfigBuilder
description
(
String
description
)
{
this
.
description
=
description
;
this
.
function
.
setDescription
(
description
);
return
this
;
}
...
...
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