{ "AllowedOrigins": [ "http://localhost:5000", "https://localhost:5001", "http://api.saherelm.ir", "https://api.saherelm.ir", "http://api.saherelmhub.ir", "https://api.saherelmhub.ir" ], "IdentityServiceConfiguration": { "Authority": "https://localhost:4001", "ApiName": "xSaherElmAPI", "ApiSecret": "s@H@1694056", "ClientId": "xSaherElmAPIClient", "ClientSecret": "s@H@1694056", "XPoweredValue": "SaherElmITCenter", "XRevisionSecretKey": "SaherElmITCenter@1694056", "DefaultClientTimeout": -1 }, "StorageConfiguration": { "Authority": "https://localhost:5001", "IdentityAuthority": "https://localhost:5001", "Storage": "Storage", "Temp": "Temp", "Thumb": "Thumb", "Uploads": "Uploads", "Widgets": "Widgets", "Image": "Image", "Audio": "Audio", "Video": "Video", "Document": "Document", "FilePrefix": "xSaherElm_", "ThumbPrefix": "Thumb_", "ThumbSize": 512, "ThumbQuality": 72, "MaxFileSize": 41943040 }, "AiApiConfiguration": { "Models": [ { "ApiKey": "", "Name": "Gemma", "LLM": "gemma3:1b", "Provider": "OpenAI", "Url": "http://178.131.88.93:1112/v1" }, { "ApiKey": "", "Name": "Qwen", "LLM": "qwen-9b", "Provider": "OpenAI", "Url": "http://178.131.88.93:1114/v1" }, { "ApiKey": "", "Name": "Embed", "LLM": "bge-m3", "Provider": "OpenAI", "Url": "http://178.131.88.93:1113/v1" } ], "Prompts": [ { "Name": "Introduction", "Template": "your name is xSaherElmAi, you are a professional ai assistant which develped by SaherElm IT Center, answer each questions by it's language.", "Description": "", "Params": [] }, { "Name": "ContentExtraction", "Template": "You are an Expert Powerful OCR Engine. your job isReading all Contents in Given Document and Retrieve them as Raw Text by following these rules: 1. Converst all tables to Markdown format. 2. extract numbers, date and times and names exactly as is. 3. do not add any extra descriptions, introduction or summarization from yourself and just return extracted Content.", "Description": "", "Params": [] }, { "Name": "Embedding", "Template": "your name is xSaherElmAi, you are a professional ai assistant which develped by SaherElm IT Center specified for Embedding Documents", "Description": "", "Params": [] } ] }, "Logging": { "LogLevel": { "Default": "Information", "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" } }, "AllowedHosts": "*" }