Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade OpenAI SDK to v1 #1017

Merged
merged 37 commits into from
Dec 4, 2023
Merged

Commits on Nov 29, 2023

  1. Configuration menu
    Copy the full SHA
    f16948b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    07b6a8f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4dd74d1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dfdb2af View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    53fdb3e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d47fc93 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    fff7493 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    77b1756 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    288e961 View commit details
    Browse the repository at this point in the history
  10. Use deployment ID only in the constructor of the Azure OpenAI Client …

    …object and remove it from the approach constructors (and all the logic that went with it)
    tonybaloney committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    7b92ef7 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    20dc9c7 View commit details
    Browse the repository at this point in the history
  12. Use two clients because the new SDK doesn't support a deployment name…

    … in the chat or embeddings methods
    tonybaloney committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    84e46ae View commit details
    Browse the repository at this point in the history
  13. Ruff ruff

    tonybaloney committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    119205a View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    d3ecae1 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    5ed4ce0 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    b2ab908 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    0bc3b58 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    c6d9c7e View commit details
    Browse the repository at this point in the history
  19. Fix content filtering, update snapshot tests, implement pydantic mode…

    …ls for streaming responses.
    tonybaloney committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    43500ef View commit details
    Browse the repository at this point in the history
  20. Update the snapshots with the new required fields for chunked complet…

    …ions. Update the iterator to pass pydantic model validation
    tonybaloney committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    5ec7ba9 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    43b50ac View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    acef3c0 View commit details
    Browse the repository at this point in the history
  23. Drop argument

    tonybaloney committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    789c973 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    a9ef636 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    8ecb05c View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    2bb3609 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2023

  1. Update formatting

    tonybaloney committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    86a4ed2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c2d20f2 View commit details
    Browse the repository at this point in the history
  3. Simplify content check

    tonybaloney committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    21eedc5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cc7df80 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2023

  1. Update requirements.in

    tonybaloney authored Dec 1, 2023
    Configuration menu
    Copy the full SHA
    e99cb09 View commit details
    Browse the repository at this point in the history
  2. Remove upper bound

    tonybaloney committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    8696a0c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8d8ee1a View commit details
    Browse the repository at this point in the history
  4. Merge the clients again

    tonybaloney committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    f99eb7f View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. Fix test_app client name

    tonybaloney committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    6006ae6 View commit details
    Browse the repository at this point in the history
  2. Inline the ternary statement to pick either a model or deployment nam…

    …e for the OpenAI SDK calls
    tonybaloney committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    c53871d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fddc6cf View commit details
    Browse the repository at this point in the history