4 Commits

Author SHA1 Message Date
Henry
efbc96dad9
feat: inference anthropic extension (#2885)
* feat: implement inference anthropic extension

* chore: format style and correct typo of other extensions
2024-05-11 19:22:05 +07:00
Inchoker
d2266405cc
Add OpenRouter (#2826)
* Add OpenRouter

* fix cohere setting description

* fix: update to auto router

* fix: auto router

* add: config parameters

* fix: correct max tokens

---------

Co-authored-by: Jack Tri Le <Jack>
Co-authored-by: Hoang Ha <64120343+hahuyhoang411@users.noreply.github.com>
2024-05-06 17:36:52 +07:00
Henry
4c88d03aa5
feat: add remote model command-r (#2868) 2024-05-06 10:37:57 +07:00
Inchoker
96abd533c4
feat: cohere remote API extension (#2785)
* fix core

* add cohere extension

* add cohere response customizable

* nitpicking

* use transformResponse

* Update extensions/inference-cohere-extension/src/index.ts

Co-authored-by: Louis <louis@jan.ai>

* use prettier

* Update extensions/inference-cohere-extension/src/index.ts

Co-authored-by: Louis <louis@jan.ai>

* pass requestBody as object

* transformPayload as a property

* This is not correct. CHATBOT is an equivalent role to assistant.
system message should be used with the preamble parameter and should not be included in the chat_history

---------

Co-authored-by: Jack Tri Le <Jack>
Co-authored-by: Louis <louis@jan.ai>
2024-04-24 18:16:57 +07:00