mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-02 09:37:03 +00:00
feat(datasource):add oceanbase support (#1622)
Co-authored-by: csunny <cfqsunny@163.com> Co-authored-by: aries_ckt <916701291@qq.com>
This commit is contained in:
@@ -244,8 +244,8 @@ class CrossEncoderRanker(Ranker):
|
||||
contents = [candidate.content for candidate in candidates_with_scores]
|
||||
query_content_pairs = [
|
||||
[
|
||||
query,
|
||||
content,
|
||||
query if query is not None else "",
|
||||
content if content is not None else "",
|
||||
]
|
||||
for content in contents
|
||||
]
|
||||
|
Reference in New Issue
Block a user