Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
agentchat
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
李伟@五瓣科技
agentchat
Commits
7440fa13
Commit
7440fa13
authored
Jun 04, 2025
by
Wade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log qa
parent
8604b187
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
0 deletions
+60
-0
agent_chat.log
agent_chat.log
+49
-0
main.go
main.go
+11
-0
No files found.
agent_chat.log
View file @
7440fa13
This diff is collapsed.
Click to expand it.
main.go
View file @
7440fa13
...
@@ -329,8 +329,19 @@ func main() {
...
@@ -329,8 +329,19 @@ func main() {
},
nil
},
nil
}
}
qa
.
UpdateQAFields
(
context
.
Background
(),
idx
,
""
,
resp
.
Text
())
qa
.
UpdateQAFields
(
context
.
Background
(),
idx
,
""
,
resp
.
Text
())
log
.
Info
()
.
Str
(
"question"
,
promptInput
.
Query
)
.
Str
(
"context"
,
promptInput
.
Context
)
.
Str
(
"graph"
,
promptInput
.
Graph
)
.
Str
(
"last summary"
,
promptInput
.
Summary
)
.
Str
(
"answer"
,
resp
.
Text
())
.
Msg
(
"Question and answer pair recorded"
)
return
Response
{
return
Response
{
Data
:
resp
.
Text
(),
Data
:
resp
.
Text
(),
Code
:
200
,
Code
:
200
,
...
...
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