Skip to content

Commit

Permalink
fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
emrgnt-cmplxty committed Oct 29, 2024
1 parent 746bfe4 commit 1010c74
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions py/r2r.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -120,4 +124,4 @@ provider = "simple"
provider = "r2r"

[email]
provider = "mock_console"
provider = "console_mock"

0 comments on commit 1010c74

Please sign in to comment.