JuchiaLu / Multi-Supplier-MT-Plugin

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

OpenRouter API - browse models and choose #12

Open drkhateeb opened 1 month ago

drkhateeb commented 1 month ago

Hello dear developer

kindly add this API

https://openrouter.ai/models

easier than one -API

JuchiaLu commented 1 month 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 1 month ago

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

model name:

drkhateeb commented 1 month ago

image

JuchiaLu commented 1 month 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 1 month 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 1 month ago

fixed Multi-Supplier-MT-Plugin.zip

drkhateeb commented 1 month ago

image

JuchiaLu 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.

drkhateeb commented 1 month 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 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.

Great to hear, Waiting for your improvements and edits

Thanks

drkhateeb commented 1 week 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 week ago

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

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

JuchiaLu commented 1 week 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 week 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 week ago

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

JuchiaLu commented 6 days ago

I've provide a temporary version in here