### What problem does this PR solve? The default value for OpenAI '/v1/embeddings' parameter 'encoding_format' is 'base64'. Use 'float' explicitly to avoid base64 encoding & decoding, larger data size. https://github.com/openai/openai-python/blob/main/src/openai/resources/embeddings.py if not is_given(encoding_format): params["encoding_format"] = "base64" ### Type of change - [x] Performance Improvement |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| chat_model.py | ||
| cv_model.py | ||
| embedding_model.py | ||
| rerank_model.py | ||
| sequence2txt_model.py | ||
| tts_model.py | ||