-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (64 loc) · 1.67 KB
/
pyproject.toml
File metadata and controls
75 lines (64 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[project]
name = "data-agent-connector"
version = "0.1.0"
description = "A connector for Data Agents to interface with various databases through MCP"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"lancedb>=0.25.2",
"pydantic>=2.11.10",
"pydantic-settings>=2.11.0",
"pyodbc>=5.2.0",
"orjson>=3.10.7",
"rich>=14.1.0",
"scipy>=1.16.2",
"sqlalchemy>=2.0.44",
"async-lru>=2.0.5",
"fastmcp>=2.12.4",
"fastapi[standard]>=0.118.0",
"cachetools>=6.2.1",
]
[dependency-groups]
ai = [
"pydantic-ai-slim[openai]>=1.0.17",
"sentence-transformers>=5.1.1",
]
dev = [
"prek>=0.3.0",
"ruff>=0.13.3",
"ty>=0.0.1a21",
]
[tool.uv.sources]
torch = [
{ index = "pytorch-cpu", marker = "sys_platform != 'linux'" },
{ index = "pytorch-cu128", marker = "sys_platform == 'linux'" },
]
torchvision = [
{ index = "pytorch-cpu", marker = "sys_platform != 'linux'" },
{ index = "pytorch-cu128", marker = "sys_platform == 'linux'" },
]
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[[tool.uv.index]]
name = "pytorch-cu128"
url = "https://download.pytorch.org/whl/cu128"
explicit = true
[tool.dac.settings]
databases_file = "databases.toml"
log_level = "INFO"
log_folder = "logs"
mcp_query_limit = 25
annotate_on_startup = true
max_concurrent_annotations = 32
lance_db_path = "./data/lance_db"
n_dims = 768
embedding_model_name = "google/embeddinggemma-300m"
device = "cuda"
allowed_sql_commands = ["SELECT", "SHOW", "DESCRIBE", "DESC", "EXPLAIN", "WITH", "PRAGMA"]
[tool.dac.settings.fts_extraction_options]
max_workers = 8
max_values_per_column = 1000
min_length = 1
max_length = 40