From 1010c74ffbee726ade18111e76b548b26cc0efda Mon Sep 17 00:00:00 2001 From: emrgnt-cmplxty Date: Tue, 29 Oct 2024 13:17:31 -0700 Subject: [PATCH] fix config --- py/r2r.toml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/py/r2r.toml b/py/r2r.toml index d10ae7266..c0d1ffad6 100644 --- a/py/r2r.toml +++ b/py/r2r.toml @@ -70,13 +70,17 @@ batch_size = 256 [embedding] provider = "litellm" + +# For basic applications, use `openai/text-embedding-3-small` with `base_dimension = 512` +base_model = "openai/text-embedding-3-small" +base_dimension = 512 + # RECOMMENDED - For advanced applications, # use `openai/text-embedding-3-large` with `base_dimension = 3072` and binary quantization # base_model = "openai/text-embedding-3-large" # base_dimension = 3072 # quantization_settings = { quantization_type = "INT1" } -base_model = "openai/text-embedding-3-small" -base_dimension = 512 + batch_size = 128 add_title_as_prefix = false rerank_model = "None" @@ -120,4 +124,4 @@ provider = "simple" provider = "r2r" [email] -provider = "mock_console" +provider = "console_mock"