Skip to content

Commit

Permalink
upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
Cobollatin committed Nov 20, 2024
1 parent ca1d144 commit 6d5d7b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion infrastructure/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ batch_repositories = ["jw-semantic-searcher"]
batch_docker_images = ["indexer"]
indexer_name = "indexer"
semantic_search_config_name = "semantic-search-config"
openai_model = "text-embedding-3-small"
openai_model = "text-embedding-3-large"
openai_project_name = "jw-semantic-search"
openai_project_id = "proj_z02T1LalUIoCPlZqeuFzl5CK"
openai_org_name = "Personal"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ export class SourceCardComponent {
}

if (preview.length > 500) {
return preview.substring(0, 100) + "...";
return preview.substring(0, 500) + "...";
}
return preview;
}

public formatTitle(title: string) {
if (title.length > 200) {
return title.substring(0, 50) + "...";
return title.substring(0, 200) + "...";
}
return title;
}
Expand Down

0 comments on commit 6d5d7b5

Please sign in to comment.