- Node.js >= 18
- MySQL >= 8.0
- Elasticsearch >= 8.11 (for
dense_vector
with 4096 dimensions) - Redis >= 6.2
- Azure Entra ID
- Azure Blob Storage
Client (App) ID of Enrta ID
- Required: Yes
- Example:
Client secret of the app
- Required: Yes
- Example:
Tenant ID of Enrta ID
- Required: Yes
- Example:
Connection string for Azure Blob Storage for the specific container
- Required: Yes
- Example:
DefaultEndpointsProtocol=...
Endpoint of completion model of Azure OpenAI API
- Required: Yes
- Example:
https://<resource-name>.openai.azure.com/
Key of completion model of Azure OpenAI API
- Required: Yes
- Example:
API version of completion model of Azure OpenAI API
- Required: Yes
- Example:
2024-06-01
Deployment name of completion model of gpt-4o
grade model
- Required: Yes
- Example:
gpt-4o
Endpoint of embedding model of Azure OpenAI API
- Required: Yes
- Example:
https://<resource-name>.openai.azure.com/
Key of embedding model of Azure OpenAI API
- Required: Yes
- Example:
API version of embedding model of Azure OpenAI API
- Required: Yes
- Example:
2024-06-01
Deployment name of embedding model of text-embedding-3-large
- Required: Yes
- Example:
text-embedding-3-large
See Prisma Doc
- Required: Yes
- Example:
mysql://user:pass@host:port/database
Redis URL, see ioredis README
- Required: Yes
- Example:
reids://user:pass@host:port/db
Elasticsearch URL, see Elasticsearch Guide
- Required: Yes
- Example:
http://user:pass@host:port
Embedding dimensions which is used for similarity search. Default is 3072
.
Reducing this value will reduce the search time but may reduce the accuracy.
- Required: No
- Default:
3072
- Acceptable values:
768
,1536
,3072
See Auth.js Guide
A random string used to encrypt cookies and tokens. It should be at least 32 characters long.
On Linux systems, you can generate a suitable string using the command openssl rand -base64 32
.
- Required: Yes
- Example:
See NextAuth.js Doc
- Required: Yes
- Example:
https://example.com
Maximum session time (in seconds). Default is 86400
. See NextAuth.js Doc
- Required: No
- Default:
86400
Session update time (in seconds). Default is 300
. See NextAuth.js Doc
- Required: No
- Default:
300
Locale to use for the app. A string with a BCP 47 language tag or an Intl.Locale instance
. Default is ja-JP
.
- Required: No
- Default:
ja-JP
Timezone to use for the app. The time zone names of the IANA time zone database. Default is Asia/Tokyo
.
- Required: No
- Default:
Asia/Tokyo
User role required to create a group. Default is empty string (""
). Empty string (""
) means that anyone can create a group.
- Required: No
- Default:
""
User role required to create a topic. Default is empty string (""
). Empty string (""
) means that anyone can create a topic.
- Required: No
- Default:
""