FIX: Lower truncation size for Gemini Embeddings (#493)
This commit is contained in:
parent
1414a91db4
commit
a1f1067f69
|
@ -31,7 +31,7 @@ module DiscourseAi
|
|||
end
|
||||
|
||||
def max_sequence_length
|
||||
2048
|
||||
1536 # Gemini has a max sequence length of 2048, but the API has a limit of 10000 bytes, hence the lower value
|
||||
end
|
||||
|
||||
def pg_function
|
||||
|
|
Loading…
Reference in New Issue