chore: update price page (#2272)

This commit is contained in:
Joel
2024-01-29 17:26:43 +08:00
committed by GitHub
parent d76d1adb59
commit 6c3b34a61d
6 changed files with 80 additions and 31 deletions

View File

@@ -3,6 +3,8 @@ import { Plan, type PlanInfo, Priority } from '@/app/components/billing/type'
const supportModelProviders = 'OpenAI/Anthropic/Azure OpenAI/ Llama2/Hugging Face/Replicate'
export const NUM_INFINITE = 99999999
export const contractSales = 'contractSales'
export const unAvailable = 'unAvailable'
export const contactSalesUrl = 'mailto:business@dify.ai'
@@ -16,7 +18,11 @@ export const ALL_PLANS: Record<Plan, PlanInfo> = {
vectorSpace: 5,
documentProcessingPriority: Priority.standard,
logHistory: 30,
messageRequest: 500,
customTools: unAvailable,
messageRequest: {
en: '200 messages',
zh: '200 条信息',
},
annotatedResponse: 10,
},
professional: {
@@ -28,7 +34,11 @@ export const ALL_PLANS: Record<Plan, PlanInfo> = {
vectorSpace: 200,
documentProcessingPriority: Priority.priority,
logHistory: NUM_INFINITE,
messageRequest: NUM_INFINITE,
customTools: 10,
messageRequest: {
en: '5,000 messages/month',
zh: '5,000 条信息/月',
},
annotatedResponse: 2000,
},
team: {
@@ -40,7 +50,11 @@ export const ALL_PLANS: Record<Plan, PlanInfo> = {
vectorSpace: 1000,
documentProcessingPriority: Priority.topPriority,
logHistory: NUM_INFINITE,
messageRequest: NUM_INFINITE,
customTools: NUM_INFINITE,
messageRequest: {
en: '10,000 messages/month',
zh: '10,000 条信息/月',
},
annotatedResponse: 5000,
},
enterprise: {
@@ -52,7 +66,11 @@ export const ALL_PLANS: Record<Plan, PlanInfo> = {
vectorSpace: NUM_INFINITE,
documentProcessingPriority: Priority.topPriority,
logHistory: NUM_INFINITE,
messageRequest: NUM_INFINITE,
customTools: NUM_INFINITE,
messageRequest: {
en: contractSales,
zh: contractSales,
},
annotatedResponse: NUM_INFINITE,
},
}