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

OpenAI client #20617

Merged
merged 65 commits into from
Jun 20, 2023
Merged

OpenAI client #20617

merged 65 commits into from
Jun 20, 2023

Commits on Jun 6, 2023

  1. Add autorest.md file

    mikekistler committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    c5660e6 View commit details
    Browse the repository at this point in the history
  2. Add build.go

    mikekistler committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    182a3b9 View commit details
    Browse the repository at this point in the history
  3. Generated client

    mikekistler committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    216b15c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a8d3e71 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3db25b0 View commit details
    Browse the repository at this point in the history
  6. Add tests -- WIP

    mikekistler committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    e90a278 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2023

  1. Load an env file for the key and endpoint

    Richard Park committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    8b446ad View commit details
    Browse the repository at this point in the history
  2. starting to add in recordings

    Richard Park committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    2f8401c View commit details
    Browse the repository at this point in the history
  3. Adding in recordings

    Richard Park committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    8314e07 View commit details
    Browse the repository at this point in the history
  4. ci.yml

    Richard Park committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    3bd833c View commit details
    Browse the repository at this point in the history
  5. Use latest autorest-go

    Richard Park committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    9c97e7f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    797fdd1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2fb1fea View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9e5c6aa View commit details
    Browse the repository at this point in the history
  9. Strip out deploymentID formatting from the individual client function…

    …s. We just incorporate it into the endpoint now.
    Richard Park committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    2c10176 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5938ac5 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6535eca View commit details
    Browse the repository at this point in the history
  12. No en-us links

    Richard Park committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    b3df143 View commit details
    Browse the repository at this point in the history
  13. Added in another recorded test

    Richard Park committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    afcf521 View commit details
    Browse the repository at this point in the history
  14. Remove check, we'll let the service handle it.

    Richard Park committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    a4f5a23 View commit details
    Browse the repository at this point in the history
  15. Package isn't published yet, temp link for now.

    Richard Park committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    ec5978c View commit details
    Browse the repository at this point in the history
  16. Whoops, uri.JoinPaths is a new API.

    Richard Park committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    6131717 View commit details
    Browse the repository at this point in the history
  17. Missed another dead link.

    Richard Park committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    8f64745 View commit details
    Browse the repository at this point in the history
  18. Missing doc comment and rename suggested by Jeff.

    Richard Park committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    3d97237 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2023

  1. Docs for EventReader

    Richard Park committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    e30c767 View commit details
    Browse the repository at this point in the history
  2. Adding more docs, unexporting most of policy

    Richard Park committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    2d42c9f View commit details
    Browse the repository at this point in the history
  3. Unexport serviceAPIVersions

    Richard Park committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    90e12c8 View commit details
    Browse the repository at this point in the history
  4. Unexport serviceAPIVersions

    Richard Park committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    518e9b0 View commit details
    Browse the repository at this point in the history
  5. Update recordings and tag

    Richard Park committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    88fcc73 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6bd8da6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    18dfcf3 View commit details
    Browse the repository at this point in the history
  8. Hm...

    Richard Park committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    dd70e9d View commit details
    Browse the repository at this point in the history
  9. Oops, wrong path

    Richard Park committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    a029a80 View commit details
    Browse the repository at this point in the history
  10. Fixed generation issue

    Richard Park committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    5691319 View commit details
    Browse the repository at this point in the history
  11. Adding in a test that shows error parsing.

    Richard Park committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    a8d9d23 View commit details
    Browse the repository at this point in the history
  12. Updated to use require

    Richard Park committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    c5c1bb6 View commit details
    Browse the repository at this point in the history
  13. New function test

    Richard Park committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    ac088e1 View commit details
    Browse the repository at this point in the history
  14. Scrub the unused error types (error, innnerror, blah)

    Richard Park committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    8c1403b View commit details
    Browse the repository at this point in the history
  15. New functions, new problems.

    Richard Park committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    5b886e7 View commit details
    Browse the repository at this point in the history
  16. Add in a token credential test as well.

    Richard Park committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    5e05b7f View commit details
    Browse the repository at this point in the history
  17. Remove unused serviceversions enum.

    Richard Park committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    d94ce3b View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    0c44586 View commit details
    Browse the repository at this point in the history
  19. Dang it, boolean logic.

    Richard Park committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    94a3fd1 View commit details
    Browse the repository at this point in the history
  20. Updating tests.

    Richard Park committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    b54d9b2 View commit details
    Browse the repository at this point in the history
  21. Adding current coverage

    Richard Park committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    a8f319a View commit details
    Browse the repository at this point in the history
  22. Updated test, skip in playback for now.

    Richard Park committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    0e26d92 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2023

  1. Hit the OpenAI endpoint for chat completions.

    (for recordings and, optionally, for use with live tests)
    Richard Park committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    15ed993 View commit details
    Browse the repository at this point in the history
  2. Test for getting back an error from OpenAI directly.

    Richard Park committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    4bfc4b2 View commit details
    Browse the repository at this point in the history
  3. Some more tests.

    Richard Park committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    08e85f4 View commit details
    Browse the repository at this point in the history
  4. Upated doc comment and field name from Jeff's suggestion.

    Richard Park committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    77f56cc View commit details
    Browse the repository at this point in the history
  5. Adding client creation examples

    Richard Park committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    69eb508 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7f6cf78 View commit details
    Browse the repository at this point in the history
  7. Update eng/config.json

    Co-authored-by: Rick Winter <[email protected]>
    richardpark-msft and RickWinter authored Jun 15, 2023
    Configuration menu
    Copy the full SHA
    a3f5932 View commit details
    Browse the repository at this point in the history
  8. Update sdk/cognitiveservices/azopenai/README.md

    Co-authored-by: Rick Winter <[email protected]>
    richardpark-msft and RickWinter authored Jun 15, 2023
    Configuration menu
    Copy the full SHA
    8417772 View commit details
    Browse the repository at this point in the history
  9. Update sdk/cognitiveservices/azopenai/README.md

    Co-authored-by: Rick Winter <[email protected]>
    richardpark-msft and RickWinter authored Jun 15, 2023
    Configuration menu
    Copy the full SHA
    97c14ae View commit details
    Browse the repository at this point in the history
  10. Update sdk/cognitiveservices/azopenai/README.md

    Co-authored-by: Rick Winter <[email protected]>
    richardpark-msft and RickWinter authored Jun 15, 2023
    Configuration menu
    Copy the full SHA
    a57e1a6 View commit details
    Browse the repository at this point in the history
  11. Examples update

    Richard Park committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    6c50f68 View commit details
    Browse the repository at this point in the history
  12. Merge branch 'openai-client' of https://github.com/mikekistler/azure-…

    …sdk-for-go into rp-openai-client
    Richard Park committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    64edff8 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2023

  1. Added in a streaming completions example (with a test!)

    Richard Park committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    7986b4d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b3f549 View commit details
    Browse the repository at this point in the history
  3. Updating some more, use the same env variable for the streaming deplo…

    …yment model.
    Richard Park committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    aa90d20 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2023

  1. Rerecording.

    Richard Park committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    176af41 View commit details
    Browse the repository at this point in the history
  2. Don't let the test run for now (output is conditional since the env v…

    …ars aren't always there)
    Richard Park committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    4250ac8 View commit details
    Browse the repository at this point in the history
  3. Needed to fill in another fake variable.

    Richard Park committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    8b3ec9f View commit details
    Browse the repository at this point in the history
  4. rerecord...

    Richard Park committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    432cdfb View commit details
    Browse the repository at this point in the history