Skip to content
Draft
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
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,16 @@ OPENAI_API_KEY=sk-... # For GPT models
# LLM_MODEL=gemini-2.0-flash-exp # Google default
```

[`.env.example`](https://github.com/memgraph/ai-toolkit/blob/main/agents/sql2graph/.env.example)
[`.env.example`](https://github.com/memgraph/ai-toolkit/blob/main/agents/structured2graph/.env.example)
in the AI Toolkit repository lists every variable, and you can copy it as a
starting point.

The migration defaults `SQL2MG_MODE`, `SQL2MG_STRATEGY`, `SQL2MG_META_POLICY`
and `SQL2MG_LOG_LEVEL` have no effect in `.env`, because `structured2graph`
reads them before it loads the file. Set them in your shell, or pass the
matching [command-line options](#command-line-options).
You can also set the migration defaults `SQL2MG_MODE`, `SQL2MG_STRATEGY`,
`SQL2MG_META_POLICY` and `SQL2MG_LOG_LEVEL` in `.env`. Variables already set in
your shell take precedence over `.env`, and the matching
[command-line options](#command-line-options) take precedence over both. In
versions before 0.4.0, these defaults have no effect in `.env`, so set them in
your shell instead.


## Run a migration
Expand Down