-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
85 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
gitleaks detect --source . -v | ||
npm install | ||
npm run format | ||
npm run i18n:parse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,104 +1,75 @@ | ||
{ | ||
"version": 0, | ||
"ui": { | ||
"default_locale": "en-US", | ||
"prompt_suggestions": [ | ||
{ | ||
"title": [ | ||
"Help me study", | ||
"vocabulary for a college entrance exam" | ||
], | ||
"content": "Help me study vocabulary: write a sentence for me to fill in the blank, and I'll try to pick the correct option." | ||
}, | ||
{ | ||
"title": [ | ||
"Give me ideas", | ||
"for what to do with my kids' art" | ||
], | ||
"content": "What are 5 creative things I could do with my kids' art? I don't want to throw them away, but it's also so much clutter." | ||
}, | ||
{ | ||
"title": [ | ||
"Tell me a fun fact", | ||
"about the Roman Empire" | ||
], | ||
"content": "Tell me a random fun fact about the Roman Empire" | ||
}, | ||
{ | ||
"title": [ | ||
"Show me a code snippet", | ||
"of a website's sticky header" | ||
], | ||
"content": "Show me a code snippet of a website's sticky header in CSS and JavaScript." | ||
}, | ||
{ | ||
"title": [ | ||
"Explain options trading", | ||
"if I'm familiar with buying and selling stocks" | ||
], | ||
"content": "Explain options trading in simple terms if I'm familiar with buying and selling stocks." | ||
}, | ||
{ | ||
"title": [ | ||
"Overcome procrastination", | ||
"give me tips" | ||
], | ||
"content": "Could you start by asking me about instances when I procrastinate the most and then give me some suggestions to overcome it?" | ||
}, | ||
{ | ||
"title": [ | ||
"Grammar check", | ||
"rewrite it for better readability " | ||
], | ||
"content": "Check the following sentence for grammar and clarity: \"[sentence]\". Rewrite it for better readability while maintaining its original meaning." | ||
} | ||
], | ||
"default_models": "azure_openai_GPT4Omni_pipeline", | ||
"user_permissions": { | ||
"chat": { | ||
"deletion": true | ||
} | ||
}, | ||
"enable_signup": true, | ||
"default_user_role": "pending", | ||
"enable_community_sharing": true | ||
}, | ||
"ollama": { | ||
"base_urls": [ | ||
"http://localhost:11434" | ||
] | ||
}, | ||
"openai": { | ||
"api_base_urls": [ | ||
"http://localhost:9099" | ||
], | ||
"api_keys": [ | ||
"0p3n-w3bu!" | ||
] | ||
}, | ||
"model_filter": { | ||
"enable": false, | ||
"list": [ | ||
"" | ||
] | ||
}, | ||
"webhook_url": "", | ||
"auth": { | ||
"admin": { | ||
"show": true | ||
}, | ||
"jwt_expiry": "-1" | ||
}, | ||
"rag": { | ||
"embedding_engine": "openai", | ||
"embedding_model": "text-embedding-3-small", | ||
"embedding_openai_batch_size": 10, | ||
"pdf_extract_images": false, | ||
"chunk_size": 1500, | ||
"chunk_overlap": 100, | ||
"template": "Use the following context as your learned knowledge, inside <context></context> XML tags.\n<context>\n [context]\n</context>\n\nWhen answer to user:\n- If you don't know, just say that you don't know.\n- If you don't know when you are not sure, ask for clarification.\nAvoid mentioning that you obtained the information from the context.\nAnd answer according to the language of the user's question.\n\nGiven the context information, answer the query.\nQuery: [query]", | ||
"top_k": 5, | ||
"relevance_threshold": 0.0, | ||
"enable_hybrid_search": false | ||
} | ||
} | ||
"version": 0, | ||
"ui": { | ||
"default_locale": "en-US", | ||
"prompt_suggestions": [ | ||
{ | ||
"title": ["Help me study", "vocabulary for a college entrance exam"], | ||
"content": "Help me study vocabulary: write a sentence for me to fill in the blank, and I'll try to pick the correct option." | ||
}, | ||
{ | ||
"title": ["Give me ideas", "for what to do with my kids' art"], | ||
"content": "What are 5 creative things I could do with my kids' art? I don't want to throw them away, but it's also so much clutter." | ||
}, | ||
{ | ||
"title": ["Tell me a fun fact", "about the Roman Empire"], | ||
"content": "Tell me a random fun fact about the Roman Empire" | ||
}, | ||
{ | ||
"title": ["Show me a code snippet", "of a website's sticky header"], | ||
"content": "Show me a code snippet of a website's sticky header in CSS and JavaScript." | ||
}, | ||
{ | ||
"title": ["Explain options trading", "if I'm familiar with buying and selling stocks"], | ||
"content": "Explain options trading in simple terms if I'm familiar with buying and selling stocks." | ||
}, | ||
{ | ||
"title": ["Overcome procrastination", "give me tips"], | ||
"content": "Could you start by asking me about instances when I procrastinate the most and then give me some suggestions to overcome it?" | ||
}, | ||
{ | ||
"title": ["Grammar check", "rewrite it for better readability "], | ||
"content": "Check the following sentence for grammar and clarity: \"[sentence]\". Rewrite it for better readability while maintaining its original meaning." | ||
} | ||
], | ||
"default_models": "azure_openai_GPT4Omni_pipeline", | ||
"user_permissions": { | ||
"chat": { | ||
"deletion": true | ||
} | ||
}, | ||
"enable_signup": true, | ||
"default_user_role": "pending", | ||
"enable_community_sharing": true | ||
}, | ||
"ollama": { | ||
"base_urls": ["http://localhost:11434"] | ||
}, | ||
"openai": { | ||
"api_base_urls": ["http://localhost:9099"], | ||
"api_keys": ["0p3n-w3bu!"] | ||
}, | ||
"model_filter": { | ||
"enable": false, | ||
"list": [""] | ||
}, | ||
"webhook_url": "", | ||
"auth": { | ||
"admin": { | ||
"show": true | ||
}, | ||
"jwt_expiry": "-1" | ||
}, | ||
"rag": { | ||
"embedding_engine": "openai", | ||
"embedding_model": "text-embedding-3-small", | ||
"embedding_openai_batch_size": 10, | ||
"pdf_extract_images": false, | ||
"chunk_size": 1500, | ||
"chunk_overlap": 100, | ||
"template": "Use the following context as your learned knowledge, inside <context></context> XML tags.\n<context>\n [context]\n</context>\n\nWhen answer to user:\n- If you don't know, just say that you don't know.\n- If you don't know when you are not sure, ask for clarification.\nAvoid mentioning that you obtained the information from the context.\nAnd answer according to the language of the user's question.\n\nGiven the context information, answer the query.\nQuery: [query]", | ||
"top_k": 5, | ||
"relevance_threshold": 0.0, | ||
"enable_hybrid_search": false | ||
} | ||
} |