rag-backend/src/RAG.Api/appsettings.json
向宁 5b67551fee feat: add notification center, Obsidian integration, RAG retrieval service and SignalR
- Add Notification entity, SignalR hub and NotificationDispatcher
- Add Obsidian document endpoints and document extractors
- Add RagRetrievalService with chunking/retrieval config
- Add ProcessKnowledgeBase and UpdateKnowledgeBase endpoints
- Add EF migrations for RAG enhancements, chunking modes and notification center
- Add unit/integration tests project
2026-06-14 15:01:07 +08:00

58 lines
1.4 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://localhost:5211",
"Protocols": "Http1"
},
"Grpc": {
"Url": "http://localhost:50051",
"Protocols": "Http2"
}
}
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"Default": "Host=localhost;Port=5432;Database=rag;Username=rag;Password=rag123",
"Redis": "localhost:6379,abortConnect=false"
},
"RabbitMq": {
"Host": "localhost",
"Port": 5672,
"Username": "rag",
"Password": "rag123"
},
"Jwt": {
"Authority": "http://localhost:5215",
"RequireHttps": false,
"SigningKey": "RagJwtSecretKey2026MustBeAtLeast32CharsLong!",
"Issuer": "http://localhost:5211",
"Audience": "rag-frontend"
},
"Cookie": {
"Secure": false
},
"FileService": {
"BaseUrl": "http://localhost:8080",
"Bucket": "rag-documents"
},
"OpenTelemetry": {
"OtlpEndpoint": "http://localhost:4316"
},
"Ai": {
"BaseUrl": "http://localhost:1234/v1",
"ApiKey": "lm-studio",
"ChatModel": "qwen/qwen3.6-27b",
"EmbeddingModel": "text-embedding-embeddinggemma-300m",
"DefaultInstructions": "你是一个RAG知识库助手基于提供的上下文准确回答用户问题。如果上下文中没有相关信息请如实说明。",
"MaxTokens": 2000,
"Temperature": 0.7
}
}