redis / redis-vl-python

Redis Vector Library (RedisVL) interfaces with Redis' vector database for realtime semantic search, RAG, and recommendation systems.
https://www.redisvl.com/
MIT License
210 stars 32 forks source link

OpenAI API client upgrade and code migration #126

Closed bsbodden closed 7 months ago

bsbodden commented 7 months ago

Upgrade OpenAI Python lib to >1.0.0 and migrates the code following https://github.com/openai/openai-python/discussions/742#async-client

Also, conditional skipping logic for vectorizers has been fixed (it was always skipping)

codecov-commenter commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 89.39%. Comparing base (9c61922) to head (aeed0b5).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #126 +/- ## ========================================== + Coverage 82.48% 89.39% +6.90% ========================================== Files 25 25 Lines 1479 1480 +1 ========================================== + Hits 1220 1323 +103 + Misses 259 157 -102 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

tylerhutcherson commented 7 months ago

Once CI passes, good to go. Will merge.