JuchiaLu / Multi-Supplier-MT-Plugin

memoQ multi supplier machine translation plugin.(memoQ 多提供商机器翻译插件。)
MIT License
25 stars 6 forks source link

OpenRouter API - browse models and choose #12

Open drkhateeb opened 2 months ago

drkhateeb commented 2 months ago

Hello dear developer

kindly add this API

https://openrouter.ai/models

easier than one -API

JuchiaLu commented 2 months ago

The OpenRouter API appears to be compatible with the OpenAI API. You can try using the OpenAI GUI and enter the following:

baseURL: https://openrouter.ai/

path: /api/v1/chat/completions

to access OpenRouter.

drkhateeb commented 2 months ago

like this https://openrouter.ai/models/google/gemini-flash-1.5/api

model name:

drkhateeb commented 2 months ago

image

JuchiaLu commented 2 months ago

could you provide a temporary API Key to my email address(I'll provide in my next comment), you can destroy it later.

drkhateeb commented 2 months ago

Hello Check mail plz

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: JuchiaLu @.> Sent: Wednesday, September 18, 2024 12:35:26 PM To: JuchiaLu/Multi-Supplier-MT-Plugin @.> Cc: drkhateeb @.>; Author @.> Subject: Re: [JuchiaLu/Multi-Supplier-MT-Plugin] OpenRouter API - browse models and choose (Issue #12)

@.**@.>

— Reply to this email directly, view it on GitHubhttps://github.com/JuchiaLu/Multi-Supplier-MT-Plugin/issues/12#issuecomment-2357972943, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AABHMW3YGJBI7ENMJQGVBB3ZXFCN5AVCNFSM6AAAAABOK2IDE6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJXHE3TEOJUGM. You are receiving this because you authored the thread.Message ID: @.***>

JuchiaLu commented 2 months ago

fixed Multi-Supplier-MT-Plugin.zip

drkhateeb commented 2 months ago

image

JuchiaLu commented 2 months ago

By the way, Claude and DeepSeek have started supporting Prompt Caching, which will enable plugins to implement Glossary feature at a more affordable price (charged at 0.1x the price of the original input pricing). I will follow up on this later.

drkhateeb commented 2 months ago

Very good news to hear

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: JuchiaLu @.> Sent: Wednesday, September 18, 2024 1:24:24 PM To: JuchiaLu/Multi-Supplier-MT-Plugin @.> Cc: drkhateeb @.>; Author @.> Subject: Re: [JuchiaLu/Multi-Supplier-MT-Plugin] OpenRouter API - browse models and choose (Issue #12)

By the way, Claude and DeepSeek have started supporting Prompt Caching, which will enable plugins to implement Glossary feature at a more affordable price (charged at 0.1x the price of the original input pricing). I will follow up on this later.

— Reply to this email directly, view it on GitHubhttps://github.com/JuchiaLu/Multi-Supplier-MT-Plugin/issues/12#issuecomment-2358093535, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AABHMW4ZNKY3STHE6WHZECLZXFIFRAVCNFSM6AAAAABOK2IDE6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJYGA4TGNJTGU. You are receiving this because you authored the thread.Message ID: @.***>

Saeedr85 commented 2 months ago

By the way, Claude and DeepSeek have started supporting Prompt Caching, which will enable plugins to implement Glossary feature at a more affordable price (charged at 0.1x the price of the original input pricing). I will follow up on this later.

Great to hear, Waiting for your improvements and edits

Thanks

drkhateeb commented 1 month ago

By the way, Claude and DeepSeek have started supporting Prompt Caching, which will enable plugins to implement Glossary feature at a more affordable price (charged at 0.1x the price of the original input pricing). I will follow up on this later.

Hello , any updates?

drkhateeb commented 1 month ago

https://platform.deepseek.com/api-docs/news/news0802

https://www.anthropic.com/news/prompt-caching

JuchiaLu commented 1 month ago

Progress is 95% complete, and the new version will be released in the next few days. The new version will support Prompt Caching for both OpenAI and Claude.

You can also use the following placeholders in the "System Prompt" or "User Prompt," which will eventually be replaced with actual content:








This will be the only third-party machine translation plugin with the ability to access context.

drkhateeb commented 1 month ago

wonderful thanks for your amazing work

does Gemini Support Cashing? could you please add Gemini - the latest model - to the plugin Gemini is great at Translation also best

JuchiaLu commented 1 month ago

Gemini now supports caching. After completing the current tasks, I'll consider supporting Gemini.

JuchiaLu commented 1 month ago

I've provide a temporary version in here