Skip to content

[feature] app as openai-compatible server #18

@x-0D

Description

@x-0D

It would be very useful to have the RWKV_APP provide an "enable API server" button that is starting API server compatible with the OpenAI API specification. This would allow integration with existing tools and systems built around the OpenAI API, when you have good phone hardware and bad outdated PC.

Suggested functionality:

  • chat/completions endpoint with parameters similar to OpenAI (model, messages, max_tokens, temperature, etc.)
  • Authentication compatible with OpenAI API keys or a simple token system
  • Response format matching OpenAI’s structure for chat completions
  • Option to select different RWKV models transparently via the API parameter

Many thanks to all the developers who are working on the project. This app makes life better and has the potential to become a local mobile personal AI, fine-tuned to user needs, if it would have openai-compatible endpoint and on-device fine-tune feature. <3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions