Skip to content
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions extensions/engine-management-extension/models/featherless.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
[
{
"model": "moonshotai/Kimi-K2-Instruct",
"object": "model",
"name": "Kimi-K2-Instruct",
"version": "1.0",
"description": "Moonshot AI's 1T parameter chat model with advanced reasoning and tool integration capabilities.",
"inference_params": {
"temperature": 0.6,
"top_p": 1.0,
"frequency_penalty": 0,
"presence_penalty": 0,
"stream": true
},
"engine": "featherless"
},
{
"model": "meta-llama/Meta-Llama-3-8B",
"object": "model",
"name": "Meta-Llama-3-8B",
"version": "1.0",
"description": "Meta's 8B parameter Llama 3 model for high-quality text generation and conversation.",
"inference_params": {
"temperature": 0.7,
"top_p": 0.95,
"frequency_penalty": 0,
"presence_penalty": 0,
"stream": true
},
"engine": "featherless"
},
{
"model": "Qwen/QwQ-32B",
"object": "model",
"name": "QwQ-32B",
"version": "1.0",
"description": "Qwen's 32B parameter reasoning-focused model with enhanced question-answering capabilities.",
"inference_params": {
"temperature": 0.8,
"top_p": 0.9,
"frequency_penalty": 0,
"presence_penalty": 0,
"stream": true
},
"engine": "featherless"
}
]
23 changes: 23 additions & 0 deletions extensions/engine-management-extension/resources/featherless.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"id": "featherless",
"type": "remote",
"engine": "featherless",
"url": "https://featherless.ai/account/api-keys",
"api_key": "",
"metadata": {
"get_models_url": "https://api.featherless.ai/v1/models",
"header_template": "Authorization: Bearer {{api_key}}",
"transform_req": {
"chat_completions": {
"url": "https://api.featherless.ai/v1/chat/completions",
"template": "{ {% set first = true %} {% for key, value in input_request %} {% if key == \"messages\" or key == \"model\" or key == \"temperature\" or key == \"store\" or key == \"max_tokens\" or key == \"stream\" or key == \"presence_penalty\" or key == \"metadata\" or key == \"frequency_penalty\" or key == \"tools\" or key == \"tool_choice\" or key == \"logprobs\" or key == \"top_logprobs\" or key == \"logit_bias\" or key == \"n\" or key == \"modalities\" or key == \"prediction\" or key == \"response_format\" or key == \"service_tier\" or key == \"seed\" or key == \"stop\" or key == \"stream_options\" or key == \"top_p\" or key == \"parallel_tool_calls\" or key == \"user\" %} {% if not first %},{% endif %} \"{{ key }}\": {{ tojson(value) }} {% set first = false %} {% endif %} {% endfor %} }"
}
},
"transform_resp": {
"chat_completions": {
"template": "{{tojson(input_request)}}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

transform_resp template uses 'input_request'; verify if this should process the API response instead.

Suggested change
"template": "{{tojson(input_request)}}"
"template": "{{tojson(input_response)}}"

}
},
"explore_models_url": "https://featherless.ai/models"
}
}
47 changes: 47 additions & 0 deletions web/public/images/ModelProvider/featherless.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.