Skip to content

[Suggestion] Add openrouter support #212

Description

@chendakeng

This is a fascinating package! It's so TIDY, I like it a lot.

I am trying to use both deepseek (https://api-docs.deepseek.com/) and openrouter (https://openrouter.ai/docs/quick-start) with the chat_openai and extract_data functions.

Although they all use openai compatible API, but it seems like the response format is different from what the elmer package would expect. I try to revise the package directly to handle the response properly, but my attempts failed (all errors remained mine, I am a poor coder...)

I hope the developer can consider adding these 2 platforms. Deepseek is a very powerful open source model with a good price/performance ratio, while openrouter allows us to use a single apikey to access a variety of models, which is much more efficient in navigating between different models.

Cheers!
Devin

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions