Skip to content

Commit 4d10a60

Browse files
committed
Add example env
1 parent 986143c commit 4d10a60

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

text_2_sql/.env.example

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Environment variables for Text2SQL
2+
IdentityType=<identityType> # system_assigned or user_assigned or key
3+
4+
# Open AI Connection Details
5+
OpenAI__CompletionDeployment=<openAICompletionDeploymentId. Used for data dictionary creator>
6+
OpenAI__MiniCompletionDeployment=<OpenAI__MiniCompletionDeploymentId. Used for agentic text2sql>
7+
OpenAI__Endpoint=<openAIEndpoint>
8+
OpenAI__ApiKey=<openAIKey if using non identity based connection>
9+
OpenAI__ApiVersion=<openAIApiVersion>
10+
11+
# Azure AI Search Connection Details
12+
AIService__AzureSearchOptions__Endpoint=<AI search endpoint>
13+
AIService__AzureSearchOptions__Key=<AI search key if using non identity based connection>
14+
AIService__AzureSearchOptions__Text2SqlSchemaStore__Index=<Schema store index name. Default is created as "text-2-sql-schema-store-index">
15+
AIService__AzureSearchOptions__Text2SqlSchemaStore__SemanticConfig=<Schema store semantic config. Default is created as "text-2-sql-schema-store-semantic-config">
16+
AIService__AzureSearchOptions__Text2SqlQueryCache__Index=<Query cache index name. Default is created as "text-2-sql-query-cache-index">
17+
AIService__AzureSearchOptions__Text2SqlQueryCache__SemanticConfig=<Query cache semantic config. Default is created as "text-2-sql-query-cache-semantic-config">
18+
AIService__AzureSearchOptions__Text2SqlColumnValueStore__Index=<Column value store index name. Default is created as "text-2-sql-column-value-store-index">
19+
20+
# All SQL Engine specific connection details
21+
Text2Sql__DatabaseName=<databaseName>
22+
23+
# TSQL or PostgreSQL Specific Connection Details
24+
Text2Sql__DatabaseConnectionString=<databaseConnectionString>
25+
26+
# Snowflake Specific Connection Details
27+
Text2Sql__Snowflake__User=<snowflakeUser if using Snowflake Data Source>
28+
Text2Sql__Snowflake__Password=<snowflakePassword if using Snowflake Data Source>
29+
Text2Sql__Snowflake__Account=<snowflakeAccount if using Snowflake Data Source>
30+
Text2Sql__Snowflake__Warehouse=<snowflakeWarehouse if using Snowflake Data Source>
31+
32+
# Databricks Specific Connection Details
33+
Text2Sql__Databricks__Catalog=<databricksCatalog if using Databricks Data Source with Unity Catalog>
34+
Text2Sql__Databricks__ServerHostname=<databricksServerHostname if using Databricks Data Source with Unity Catalog>
35+
Text2Sql__Databricks__HttpPath=<databricksHttpPath if using Databricks Data Source with Unity Catalog>
36+
Text2Sql__Databricks__AccessToken=<databricks AccessToken if using Databricks Data Source with Unity Catalog>

0 commit comments

Comments
 (0)