Haiyue Wang 2e00d8d3d4
Use 'float' explicitly for OpenAI's embedding "encoding_format" (#9838)
### 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
2025-09-02 10:31:51 +08:00
..
2025-08-28 18:40:32 +08:00
2025-08-28 18:40:32 +08:00
2025-08-25 09:41:52 +08:00
2025-08-28 18:40:32 +08:00
2025-01-21 20:52:28 +08:00