64 lines
1.9 KiB
Python
64 lines
1.9 KiB
Python
# Generated by Django 5.0.3 on 2025-01-31 17:10
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = []
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="Neo4jProfile",
|
|
fields=[
|
|
(
|
|
"id",
|
|
models.BigAutoField(
|
|
auto_created=True,
|
|
primary_key=True,
|
|
serialize=False,
|
|
verbose_name="ID",
|
|
),
|
|
),
|
|
(
|
|
"name",
|
|
models.CharField(
|
|
help_text="Profile name for the Neo4j database.",
|
|
max_length=100,
|
|
unique=True,
|
|
),
|
|
),
|
|
(
|
|
"uri",
|
|
models.CharField(help_text="Neo4j connection URI.", max_length=255),
|
|
),
|
|
(
|
|
"username",
|
|
models.CharField(help_text="Neo4j username.", max_length=100),
|
|
),
|
|
(
|
|
"password",
|
|
models.CharField(
|
|
help_text="Neo4j password (stored securely).", max_length=100
|
|
),
|
|
),
|
|
(
|
|
"openai_api_key",
|
|
models.CharField(
|
|
help_text="OpenAI API key (or equivalent LLM provider).",
|
|
max_length=255,
|
|
),
|
|
),
|
|
(
|
|
"model_name",
|
|
models.CharField(
|
|
help_text="LLM Model used (e.g., gpt-4, deepseek-chat).",
|
|
max_length=100,
|
|
),
|
|
),
|
|
],
|
|
),
|
|
]
|