Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
沈秋雨
/
weknora_ragas
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
89f85cbe
...
89f85cbeb78087532e4f2dcafad4d3f63a054cbf
authored
2026-04-22 13:56:13 +0800
by
沈秋雨
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bugfix
1 parent
a52cb68a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/weknora_eval/testset.py
src/weknora_eval/testset.py
View file @
89f85cb
...
...
@@ -153,7 +153,7 @@ def _generate_ragas_direct_rows(
role_description
=
"关注协议、版权、授权、责任和风险表述。"
,
),
]
synthesizer
=
SingleHopQuerySynthesizer
(
llm
=
ragas_llm
)
synthesizer
=
SingleHop
Specific
QuerySynthesizer
(
llm
=
ragas_llm
)
rows
=
asyncio
.
run
(
_generate_direct_samples
(
synthesizer
,
documents
,
source_rows
,
personas
,
size
)
)
...
...
Please
register
or
sign in
to post a comment