64bit / async-openai

Rust library for OpenAI
https://docs.rs/async-openai
MIT License
1.11k stars 165 forks source link

add support for base64 embeddings #190

Closed adri1wald closed 6 months ago

adri1wald commented 7 months ago

Resolves #189


Considerations:

64bit commented 7 months ago

Thank you for the PR!

Looking at the spec doesn't distinguishes base64 response - it opens up implementation details - which you have done nicely!

I'll leave the comments about your considerations separately.

adri1wald commented 6 months ago

@64bit Sorry about the delay. I think this is ready for another review now! Let me know what you think :)