diff --git a/infrastructure/terraform.tfvars b/infrastructure/terraform.tfvars index 9f56b31..bb267af 100644 --- a/infrastructure/terraform.tfvars +++ b/infrastructure/terraform.tfvars @@ -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" diff --git a/webapp/src/app/components/source-card/source-card.component.ts b/webapp/src/app/components/source-card/source-card.component.ts index aa4d87b..f854ac4 100644 --- a/webapp/src/app/components/source-card/source-card.component.ts +++ b/webapp/src/app/components/source-card/source-card.component.ts @@ -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; }