feat(matching): rank with semantic embeddings and explain matches by evidence
This commit is contained in:
1 parent
facc1789b1
commit
24b64d698a
215 files changed
+16951
-327
No files matched your search
@@ -156,6 +156,9 @@ type Config struct {
|
||||
// assignment. Reviewed source provenance is required separately.
|
||||
AssessmentDemoCategoriesEnabled bool
|
||||
|
||||
// Semantic configures semantic matching and repository checks.
|
||||
Semantic SemanticSettings
|
||||
|
||||
// CodeRunner configures the client of the own code runner. It is disabled
|
||||
// unless CODE_RUNNER_URL is set.
|
||||
CodeRunner CodeRunnerSettings
|
||||
@@ -254,6 +257,11 @@ func (config *Config) loadIdentityAndProxySettings(lookup LookupEnv) error {
|
||||
if err := config.loadAssessment(lookup); err != nil {
|
||||
return err
|
||||
}
|
||||
semantic, err := LoadSemanticSettings(lookup)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
config.Semantic = semantic
|
||||
codeRunner, err := LoadCodeRunnerSettings(lookup)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user