Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pip install 'nao-core[athena]'
pip install 'nao-core[trino]'
pip install 'nao-core[redshift]'
pip install 'nao-core[fabric]'
pip install 'nao-core[starrocks]'

# LLM providers
pip install 'nao-core[openai]'
Expand Down Expand Up @@ -83,7 +84,7 @@ nao init

This will create a new nao project in the current directory. It will prompt you for a project name and ask you to configure:

- **Database connections** (BigQuery, DuckDB, Databricks, Snowflake, PostgreSQL, Redshift, MSSQL, Trino)
- **Database connections** (BigQuery, DuckDB, Databricks, Snowflake, PostgreSQL, Redshift, MSSQL, Trino, StarRocks)
- **Git repositories** to sync
- **LLM provider** (OpenAI, Anthropic, Mistral, Gemini, OpenRouter, Ollama)
- **`ai_summary` template + model** (prompted only when you enable `ai_summary` for databases)
Expand Down
2 changes: 2 additions & 0 deletions cli/nao_core/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
PostgresConfig,
RedshiftConfig,
SnowflakeConfig,
StarRocksConfig,
TrinoConfig,
)
from .exceptions import InitError
Expand All @@ -28,6 +29,7 @@
"PostgresConfig",
"MssqlConfig",
"RedshiftConfig",
"StarRocksConfig",
"TrinoConfig",
"DatabaseType",
"LLMConfig",
Expand Down
4 changes: 4 additions & 0 deletions cli/nao_core/config/databases/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from .postgres import PostgresConfig
from .redshift import RedshiftConfig
from .snowflake import SnowflakeConfig
from .starrocks import StarRocksConfig
from .trino import TrinoConfig

# =============================================================================
Expand All @@ -33,6 +34,7 @@
Annotated[MssqlConfig, Tag("mssql")],
Annotated[PostgresConfig, Tag("postgres")],
Annotated[RedshiftConfig, Tag("redshift")],
Annotated[StarRocksConfig, Tag("starrocks")],
Annotated[TrinoConfig, Tag("trino")],
],
Discriminator("type"),
Expand All @@ -52,6 +54,7 @@
DatabaseType.SNOWFLAKE: SnowflakeConfig,
DatabaseType.POSTGRES: PostgresConfig,
DatabaseType.REDSHIFT: RedshiftConfig,
DatabaseType.STARROCKS: StarRocksConfig,
DatabaseType.TRINO: TrinoConfig,
}

Expand Down Expand Up @@ -86,6 +89,7 @@ def parse_database_config(data: dict) -> AnyDatabaseConfig:
"MssqlConfig",
"MysqlConfig",
"SnowflakeConfig",
"StarRocksConfig",
"PostgresConfig",
"RedshiftConfig",
"TrinoConfig",
Expand Down
1 change: 1 addition & 0 deletions cli/nao_core/config/databases/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class DatabaseType(str, Enum):
MYSQL = "mysql"
POSTGRES = "postgres"
REDSHIFT = "redshift"
STARROCKS = "starrocks"
TRINO = "trino"

@classmethod
Expand Down
Loading
Loading