mobiusml / aana_sdk

Aana SDK is a powerful framework for building AI enabled multimodal applications.
https://www.mobiuslabs.com/
Apache License 2.0
26 stars 3 forks source link

OpenAI-compatible API #120

Closed movchan74 closed 3 months ago

movchan74 commented 3 months ago

Summary: This Pull Request introduces an OpenAI-compatible API endpoint to the Aana SDK, enabling seamless integration for applications utilizing OpenAI's API.

Key Changes:

  1. New Chat Completions Endpoint: Implemented a new endpoint, /chat/completions, compatible with OpenAI clients.
  2. Endpoint Testing: Added a test for the new endpoint using the official OpenAI client to ensure proper functionality and compatibility.
  3. Documentation Update: Expanded the SDK documentation with new docs detailing the usage of the OpenAI compatible API, complete with code examples.

Related issues: https://github.com/mobiusml/aana_sdk/issues/118