Verwalten Sie hier Ihren OpenAI API Key. Der Key wird sicher in der .env Datei gespeichert.
Bearbeiten Sie die YAML-Konfiguration:
cache:
base_dir: ./cache
cleanup_interval: 24
max_age_days: 7
mongodb:
create_indexes: false
enabled: true
ttl_days: 30
generic_worker:
active: true
max_concurrent: 3
poll_interval_sec: 5
llm_config:
use_cases:
chat_completion:
model: gpt-4.1-mini
provider: openai
embedding:
dimensions: 2048
model: voyage-3-large
provider: voyageai
image2text:
model: gpt-4o
provider: openai
ocr_pdf:
model: pixtral-large-latest
provider: mistral
transcription:
model: whisper-1
provider: openai
llm_providers:
mistral:
api_key: 6s6yBN03O0XpxfC1h7sOPP4gW5xEItZq
available_models:
chat_completion:
- mistral-large-latest
- mistral-medium-latest
- mistral-small-latest
- mistral-tiny
- pixtral-large-latest
- pixtral-small-latest
ocr_pdf:
- pixtral-large-latest
- pixtral-small-latest
enabled: true
ollama:
api_key: ollama
available_models:
chat_completion:
- llama3
- llama3:8b
- llama3:70b
- mistral
- codellama
- phi3
- gemma2
- gpt-oss:20b
image2text:
- llava
- bakllava
- llava:13b
ocr_pdf:
- llava
- bakllava
- llava:13b
base_url: http://localhost:11434/v1
enabled: true
openai:
api_key: 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
available_models:
chat_completion:
- gpt-4
- gpt-4-turbo
- gpt-4o
- gpt-5.1
- gpt-4.1
- gpt-4.1-mini
- gpt-3.5-turbo
image2text:
- gpt-4o
- gpt-4-turbo
- gpt-4-vision-preview
ocr_pdf:
- gpt-4o
- gpt-4-turbo
- gpt-4-vision-preview
transcription:
- whisper-1
enabled: true
openrouter:
api_key: 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
available_models:
chat_completion:
- openai/gpt-4
- openai/gpt-4-turbo
- openai/gpt-4o
- anthropic/claude-3-opus
- anthropic/claude-3-sonnet
- anthropic/claude-3-haiku
- mistralai/mistral-large-latest
- mistralai/mistral-medium-latest
- google/gemini-2.0-flash-exp
- google/gemini-pro-1.5
- meta-llama/llama-3-70b-instruct
image2text:
- openai/gpt-4o
- openai/gpt-4-turbo
- openai/gpt-4-vision-preview
- google/gemini-pro-vision
ocr_pdf:
- openai/gpt-4o
- openai/gpt-4-turbo
- openai/gpt-4-vision-preview
- mistralai/pixtral-large-latest
transcription:
- openai/whisper-1
enabled: true
logging:
backup_count: 5
file: logs/dev_detailed.log
level: DEBUG
max_log_entries: 1000
max_size: 120000000
mongodb:
connect_timeout_ms: 5000
max_pool_size: 50
uri: mongodb+srv://apiUser:jPWCznN8tpAMZw2G@bcommonslab.kh9co.mongodb.net/common-secretary-service-prod?retryWrites=true&w=majority
processors:
audio:
batch_size: 5
cache:
collection_name: audio_cache
enabled: true
ttl_days: 30
cache_dir: cache/audio
export_format: mp3
max_file_size: 200000000
max_segments: 100
segment_duration: 300
temp_file_suffix: .mp3
event:
base_dir: sessions
cache:
collection_name: event_cache
enabled: true
ttl_days: 30
cache_dir: cache/event
max_attachment_size: 100
max_concurrent_tasks: 5
max_video_size: 1000
request_timeout: 30
imageocr:
cache:
collection_name: ocr_cache
enabled: true
ttl_days: 30
cache_dir: cache/imageocr
max_file_size: 10485760
max_resolution: 4096
metadata:
cache:
collection_name: metadata_cache
enabled: true
ttl_days: 30
cache_dir: cache/metadata
extract_advanced_metadata: true
max_file_size: 50000000
supported_files:
- image:
- jpg
- jpeg
- png
- gif
- bmp
- webp
- tiff
- document:
- pdf
- docx
- doc
- xlsx
- xls
- pptx
- ppt
- txt
- md
- audio:
- mp3
- wav
- ogg
- m4a
- flac
- video:
- mp4
- webm
- avi
- mov
- mkv
timeout_seconds: 30
obsidian:
base_dir: sessions
cache:
collection_name: obsidian_cache
enabled: true
ttl_days: 30
openai:
api_key: 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
image_quality: 85
max_image_size: 2048
vision_model: gpt-4o
pdf:
cache:
collection_name: pdf_cache
enabled: true
ttl_days: 30
cache_dir: cache/pdf
images:
main:
format: jpg
max_size: 1280
quality: 80
preview:
format: jpg
max_size: 360
quality: 80
max_file_size: 150000000
max_pages: 500
rag:
cache_dir: cache/obsidian
chunk_overlap: 200
chunk_size: 1000
default_retrieval_limit: 5
embedding_dimensions: 2048
embedding_model: voyage-3-large
max_concurrent_tasks: 5
mongodb:
collection: rag_embeddings
vector_index: vector_index
voyage_api_key: pa-tQ5nrGH_f8Zdwt6DYTDwiFeIgPb6iUvvRDAmK_MHMWH
track:
base_dir: sessions
cache:
collection_name: track_cache
enabled: true
ttl_days: 30
cache_dir: cache/track
max_concurrent_tasks: 5
transformer:
cache:
collection_name: transformer_cache
enabled: true
ttl_days: 14
cache_dir: cache/transformer
max_concurrent_requests: 10
max_tokens: 4000
model: gpt-4.1-mini
temperature: 0.1
templates_dir: resources/templates
timeout_seconds: 120
video:
cache:
collection_name: video_cache
enabled: true
ttl_days: 30
cache_dir: cache/video
youtube:
cache:
collection_name: youtube_cache
enabled: true
ttl_days: 30
cache_dir: cache/youtube
max_duration: 15000
max_file_size: 120000000
ydl_opts:
format: bestaudio/best
nocheckcertificate: true
postprocessors:
- key: FFmpegExtractAudio
preferredcodec: mp3
rate_limiting:
enabled: true
requests_per_minute: 60
server:
api_base_url: http://localhost:5001
debug: true
host: 127.0.0.1
port: 5000
session_worker:
active: false
max_concurrent: 3
poll_interval_sec: 5