Feat reranker embeddinig #81
backend_pr_check.yml
on: pull_request
lint
1m 7s
go mod check
21s
Annotations
10 errors
|
lint:
test/embedding_test.go#L408
S1017: should replace this if statement with an unconditional strings.TrimSuffix (staticcheck)
|
|
lint:
test/rerank_test.go#L239
ineffectual assignment to topn (ineffassign)
|
|
lint:
test/embedding_test.go#L37
Error return value of `f.Close` is not checked (errcheck)
|
|
lint:
test/embedding_test.go#L34
Error return value of `os.Setenv` is not checked (errcheck)
|
|
lint:
test/checkmodel/main.go#L28
Error return value of `f.Close` is not checked (errcheck)
|
|
lint:
test/checkmodel/main.go#L25
Error return value of `os.Setenv` is not checked (errcheck)
|
|
lint:
components/reranker/bailian/reranker.go#L134
Error return value of `rawResp.Body.Close` is not checked (errcheck)
|
|
lint:
components/reranker/baai/reranker.go#L120
Error return value of `rawResp.Body.Close` is not checked (errcheck)
|
|
lint:
components/embedder/bailian/embedder.go#L277
Error return value of `resp.Body.Close` is not checked (errcheck)
|
|
lint:
components/embedder/bailian/embedder.go#L190
Error return value of `resp.Body.Close` is not checked (errcheck)
|