Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
17 changes: 17 additions & 0 deletions ask_api/packages/core/nlweb_core/data/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ generative_model:
auth_method: api_key # Use 'azure_ad' for managed identity
import_path: nlweb_azure_models.llm.azure_oai
class_name: AzureOpenAIProvider
# OpenRouter alternative (uncomment to use):
# high:
# model: openai/gpt-4o
# api_key_env: OPENROUTER_API_KEY
# import_path: nlweb_openrouter_models.llm.openrouter
# class_name: OpenRouterProvider
# low:
# model: openai/gpt-4o-mini
# api_key_env: OPENROUTER_API_KEY
# import_path: nlweb_openrouter_models.llm.openrouter
# class_name: OpenRouterProvider

embedding:
default:
Expand All @@ -45,6 +56,12 @@ scoring_model:
auth_method: api_key
import_path: nlweb_azure_models.llm.azure_oai
class_name: AzureOpenAIScoringProvider
# OpenRouter scoring alternative (uncomment to use):
# openrouter:
# model: openai/gpt-4o-mini
# api_key_env: OPENROUTER_API_KEY
# import_path: nlweb_openrouter_models.llm.openrouter
# class_name: OpenRouterScoringProvider


retrieval:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Copyright (c) 2025 Microsoft Corporation.
# Licensed under the MIT License
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Copyright (c) 2025 Microsoft Corporation.
# Licensed under the MIT License
Loading