yomorun / yomo

🦖 Stateful Serverless Framework for Geo-distributed Edge AI Infra. with function calling support, write once, run on any model.
https://yomo.run
Apache License 2.0
1.65k stars 128 forks source link

feat: add OpenAI provider #735

Closed venjiang closed 6 months ago

venjiang commented 6 months ago

Related Docs

How to use this provider

bridge:
  ai:
    server:
      addr: localhost:8000
      provider: openai

    providers:
      openai:
        api_key: <your-api-key>
        model: <gpt-3.5-turbo-1106>
vercel[bot] commented 6 months ago

@venjiang is attempting to deploy a commit to the YoMo Team on Vercel.

A member of the Team first needs to authorize it.

codecov[bot] commented 6 months ago

Codecov Report

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

Project coverage is 59.22%. Comparing base (3a44b2d) to head (c5963d0). Report is 7 commits behind head on master.

:exclamation: Current head c5963d0 differs from pull request most recent head 882354c. Consider uploading reports for the commit 882354c to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #735 +/- ## ========================================== - Coverage 59.46% 59.22% -0.25% ========================================== Files 37 39 +2 Lines 2810 2445 -365 ========================================== - Hits 1671 1448 -223 + Misses 1034 885 -149 - Partials 105 112 +7 ```

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