Refactor Personal folder structure for improved organization
Consolidated 16+ top-level categories into 8 clear functional groups (AI, Development, Home-Automation, Infrastructure, Lifestyle, PKM, Professional, Backup). Merged duplicate files (OpenRouter.md, Github.md) and archived originals. This simplifies navigation and improves long-term maintainability. (vault changes by Claude Code)
This commit is contained in:
@@ -1,74 +0,0 @@
|
||||
|
||||
key : 272f337c0d2c4407b930bde5e9846072
|
||||
endpoint: https://my-chatgpt.openai.azure.com/
|
||||
|
||||
```bash
|
||||
export AZURE_OPENAI_API_KEY="272f337c0d2c4407b930bde5e9846072"
|
||||
export AZURE_OPENAI_ENDPOINT="https://my-chatgpt.openai.azure.com/"
|
||||
```
|
||||
```
|
||||
|
||||
```.env
|
||||
# ChatGPT Settings (required)
|
||||
# Set the API Key from OpenAI
|
||||
OPENAI_API_KEY=272f337c0d2c4407b930bde5e9846072
|
||||
# To use Azure OpenAI API, set `OPENAI_AZURE` to true and `CHATGPT_REVERSE_PROXY` to your completion endpoint
|
||||
# OPENAI_AZURE=false
|
||||
OPENAI_AZURE=true
|
||||
CHATGPT_REVERSE_PROXY=https://my-chatgpt.openai.azure.com/
|
||||
|
||||
# Set the ChatGPT conversation context to 'thread', 'room' or 'both'.
|
||||
CHATGPT_CONTEXT=thread
|
||||
# Set the ChatGPT model to be used by the API. 'gpt-3.5-turbo' is the official ChatGPT-model from OpenAI
|
||||
# Note that the models are not free and will charge your OpenAI account depending on the usage of tokens
|
||||
#CHATGPT_API_MODEL=gpt-3.5-turbo
|
||||
CHATGPT_API_MODEL=gpt-4o
|
||||
# (Optional) Explicitly set the prefix sent to model at the beginning of a conversation
|
||||
#CHATGPT_PROMPT_PREFIX=Instructions:\nYou are ChatGPT, a large language model trained by OpenAI.
|
||||
# (Optional) Set to true if ChatGPT should ignore any messages which are not text
|
||||
#CHATGPT_IGNORE_MEDIA=false
|
||||
# (Optional) You can change the api url to use another (OpenAI-compatible) API endpoint
|
||||
#CHATGPT_REVERSE_PROXY=https://api.openai.com/v1/chat/completions
|
||||
# (Optional) Set the temperature of the model. 0.0 is deterministic, 1.0 is very creative.
|
||||
CHATGPT_TEMPERATURE=0.1
|
||||
# (Optional) (Optional) Davinci models have a max context length of 4097 tokens, but you may need to change this for other models.
|
||||
CHATGPT_MAX_CONTEXT_TOKENS=8192
|
||||
# You might want to lower this to save money if using a paid model. Earlier messages will be dropped until the prompt is within the limit.
|
||||
# CHATGPT_MAX_PROMPT_TOKENS=3097
|
||||
|
||||
# Set data store settings
|
||||
KEYV_BACKEND=file
|
||||
KEYV_URL=
|
||||
KEYV_BOT_ENCRYPTION=false
|
||||
KEYV_BOT_STORAGE=true
|
||||
|
||||
# Matrix Static Settings (required, see notes)
|
||||
# Defaults to "https://matrix.org"
|
||||
MATRIX_HOMESERVER_URL=
|
||||
# With the @ and :DOMAIN, ie @SOMETHING:DOMAIN - Not used if `MATRIX_ACCESS_TOKEN` is set.
|
||||
MATRIX_BOT_USERNAME=
|
||||
# Set `MATRIX_BOT_PASSWORD` the bot will print an `MATRIX_ACCESS_TOKEN` to the terminal
|
||||
MATRIX_ACCESS_TOKEN=
|
||||
# Not used if `MATRIX_ACCESS_TOKEN` is set.
|
||||
MATRIX_BOT_PASSWORD=
|
||||
|
||||
# Matrix Configurable Settings Defaults (optional)
|
||||
# Leave prefix blank to reply to all messages
|
||||
MATRIX_DEFAULT_PREFIX=!chatgpt
|
||||
MATRIX_DEFAULT_PREFIX_REPLY=false
|
||||
|
||||
# Matrix Access Control (optional)
|
||||
# Can be set to user:homeserver or a wildcard like :anotherhomeserver.example
|
||||
MATRIX_BLACKLIST=
|
||||
# `MATRIX_WHITELIST` is overriden by `MATRIX_BLACKLIST` if they contain same entry
|
||||
MATRIX_WHITELIST=
|
||||
|
||||
# Matrix Feature Flags (optional)
|
||||
MATRIX_AUTOJOIN=true
|
||||
MATRIX_ENCRYPTION=true
|
||||
# If you turn threads off you will have problems if you don't set CHATGPT_CONTEXT=room
|
||||
MATRIX_THREADS=true
|
||||
MATRIX_PREFIX_DM=false
|
||||
MATRIX_RICH_TEXT=true
|
||||
```
|
||||
|
||||
@@ -1,133 +0,0 @@
|
||||
|
||||
matrix chat api key
|
||||
```
|
||||
sk-ai-v1-2d2ba59719ff6f0d8d2f439d3b5c84399176d1059302cc4b43c132a4d17e9f03
|
||||
```
|
||||
|
||||
|
||||
goose anthropic key:
|
||||
```
|
||||
sk-ai-v1-fb59f3dec382ed0cdba5457059137cc4133c90094ebc68fc96bef6e4764bf6f8
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
env file
|
||||
```env
|
||||
### --- Matrix server ---
|
||||
BAIBOT_HOMESERVER_SERVER_NAME=chans.xyz
|
||||
BAIBOT_HOMESERVER_URL=https://chans.xyz
|
||||
|
||||
### --- Bot user credentials ---
|
||||
BAIBOT_USER_MXID_LOCALPART=baibot
|
||||
BAIBOT_USER_PASSWORD=SuperSecurePassword123
|
||||
BAIBOT_USER_NAME=Baibot
|
||||
|
||||
### --- Encryption & persistence ---
|
||||
# This directory is where baibot stores its state (mounted as /data)
|
||||
BAIBOT_PERSISTENCE_DATA_DIR_PATH=/data
|
||||
# 32-byte (64-hex) keys; generate with `openssl rand -hex 32`
|
||||
BAIBOT_PERSISTENCE_SESSION_ENCRYPTION_KEY=2657b3e99529bdec2086a1df4144f333eed027a71ef8e343653d76de9a775e0b
|
||||
BAIBOT_PERSISTENCE_CONFIG_ENCRYPTION_KEY=dd62c68041e9c6251dd0a474132b2ec5630be2354dd69f5b755153335a8aff8d
|
||||
|
||||
### --- Encryption recovery ---
|
||||
BAIBOT_USER_ENCRYPTION_RECOVERY_PASSPHRASE=long-and-secure-passphrase-here
|
||||
BAIBOT_USER_ENCRYPTION_RECOVERY_RESET_ALLOWED=false
|
||||
|
||||
### --- Access control ---
|
||||
BAIBOT_ACCESS_ADMIN_PATTERNS=@zhiqiang:chans.xyz
|
||||
|
||||
### --- Behavior ---
|
||||
BAIBOT_COMMAND_PREFIX=!bai
|
||||
BAIBOT_LOGGING=warn,mxlink=debug,baibot=debug
|
||||
|
||||
```
|
||||
|
||||
|
||||
baibot password
|
||||
```
|
||||
rTko=deMv*z(ex7F
|
||||
```
|
||||
|
||||
|
||||
```yml
|
||||
base_url: https://zenmux.ai/api/v1
|
||||
api_key: sk-ai-v1-2d2ba59719ff6f0d8d2f439d3b5c84399176d1059302cc4b43c132a4d17e9f03
|
||||
|
||||
text_generation:
|
||||
model_id: anthropic/claude-sonnet-4.5
|
||||
prompt: "You are a helpful assistant called {{ baibot_name }}, powered by Zenmux ({{ baibot_model_id }}). The date/time of this conversation's start is: {{ baibot_conversation_start_time_utc }}."
|
||||
temperature: 0.8
|
||||
max_completion_tokens: 16384
|
||||
max_context_tokens: 128000
|
||||
|
||||
speech_to_text:
|
||||
model_id: whisper-1
|
||||
|
||||
text_to_speech:
|
||||
model_id: tts-1-hd
|
||||
voice: onyx
|
||||
speed: 1.0
|
||||
response_format: opus
|
||||
|
||||
image_generation:
|
||||
model_id: gpt-image-1
|
||||
style: vivid
|
||||
size: 512x512
|
||||
quality: standard
|
||||
|
||||
```
|
||||
|
||||
|
||||
```
|
||||
!bai config room set-handler text-generation global/zenmux
|
||||
```
|
||||
|
||||
|
||||
```
|
||||
base_url: "https://zenmux.ai/api/v1"
|
||||
api_key: "sk-ai-v1-2d2ba59719ff6f0d8d2f439d3b5c84399176d1059302cc4b43c132a4d17e9f03"
|
||||
text_generation:
|
||||
model_id: "openai/gpt-5-chat"
|
||||
prompt: 'system_prompt: "You are a calm, intelligent, and helpful AI assistant called gpt5, powered by openai using the gpt5 chat model. The current UTC start time of this conversation is: {{ conversation_start_time_utc }}."
|
||||
'
|
||||
temperature: 1.0
|
||||
speech_to_text:
|
||||
model_id: whisper-1
|
||||
text_to_speech:
|
||||
model_id: tts-1-hd
|
||||
voice: onyx
|
||||
speed: 1.0
|
||||
response_format: opus
|
||||
image_generation:
|
||||
model_id: gpt-image-1
|
||||
style: null
|
||||
size: null
|
||||
quality: null
|
||||
|
||||
```
|
||||
|
||||
|
||||
```
|
||||
base_url: "https://zenmux.ai/api/v1"
|
||||
api_key: "sk-ai-v1-2d2ba59719ff6f0d8d2f439d3b5c84399176d1059302cc4b43c132a4d17e9f03"
|
||||
text_generation:
|
||||
model_id: "google/gemini-2.5-pro"
|
||||
prompt: 'system_prompt: "Gemini 2.5 Pro is Google’s state-of-the-art AI model designed for advanced reasoning, coding, mathematics, and scientific tasks. It employs “thinking” capabilities, enabling it to reason through responses with enhanced accuracy and nuanced context handling. Gemini 2.5 Pro achieves top-tier performance on multiple benchmarks, including first-place positioning on the LMArena leaderboard, reflecting superior human-preference alignment and complex problem-solving abilities. The current UTC start time of this conversation is: {{ conversation_start_time_utc }}."
|
||||
'
|
||||
temperature: 1.0
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
```
|
||||
base_url: "https://zenmux.ai/api/v1"
|
||||
api_key: "sk-ai-v1-2d2ba59719ff6f0d8d2f439d3b5c84399176d1059302cc4b43c132a4d17e9f03"
|
||||
text_generation:
|
||||
model_id: "qwen/qwen3-max"
|
||||
prompt: 'system_prompt: "Qwen3-Max is an updated release built on the Qwen3 series, offering major improvements in reasoning, instruction following, multilingual support, and long-tail knowledge coverage compared to the January 2025 version. It delivers higher accuracy in math, coding, logic, and science tasks, follows complex instructions in Chinese and English more reliably, reduces hallucinations, and produces higher-quality responses for open-ended Q&A, writing, and conversation. The model supports over 100 languages with stronger translation and commonsense reasoning, and is optimized for retrieval-augmented generation (RAG) and tool calling, though it does not include a dedicated “thinking” mode.The current UTC start time of this conversation is: {{ conversation_start_time_utc }}."
|
||||
'
|
||||
temperature: 1.0
|
||||
```
|
||||
@@ -1,5 +0,0 @@
|
||||
|
||||
key
|
||||
```
|
||||
sk-scalJeWNKxWMePXVwiGVnCMjrDpeSkCFxyowSSYp7C9yDpFqX3wY6zg9N7ovJ0MR
|
||||
```
|
||||
@@ -1,5 +0,0 @@
|
||||
|
||||
local rag key:
|
||||
```
|
||||
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
|
||||
```
|
||||
Reference in New Issue
Block a user