mirror of
https://github.com/langbot-app/LangBot.git
synced 2025-11-25 03:15:06 +08:00
* feat: add embeddings model management backend support Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com> * feat: add embeddings model management frontend support Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com> * chore: revert HttpClient URL to production setting Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com> * refactor: integrate embeddings models into models page with tabs Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com> * perf: move files * perf: remove `s` * feat: allow requester to declare supported types in manifest * feat(embedding): delete dimension and encoding format * feat: add extra_args for embedding moels * perf: i18n ref * fix: linter err * fix: lint err * fix: linter err --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Junyan Qin <Chin> <rockchinq@gmail.com>
31 lines
561 B
YAML
31 lines
561 B
YAML
apiVersion: v1
|
|
kind: LLMAPIRequester
|
|
metadata:
|
|
name: xai-chat-completions
|
|
label:
|
|
en_US: xAI
|
|
zh_Hans: xAI
|
|
icon: xai.svg
|
|
spec:
|
|
config:
|
|
- name: base_url
|
|
label:
|
|
en_US: Base URL
|
|
zh_Hans: 基础 URL
|
|
type: string
|
|
required: true
|
|
default: "https://api.x.ai/v1"
|
|
- name: timeout
|
|
label:
|
|
en_US: Timeout
|
|
zh_Hans: 超时时间
|
|
type: integer
|
|
required: true
|
|
default: 120
|
|
support_type:
|
|
- llm
|
|
execution:
|
|
python:
|
|
path: ./xaichatcmpl.py
|
|
attr: XaiChatCompletions
|