This commit is contained in:
Guy Ben-Aharon
2024-09-22 10:05:36 +03:00
committed by Guy Ben-Aharon
parent 0bab307b4e
commit 98f429f9cc
68 changed files with 8762 additions and 6087 deletions

View File

@@ -1,10 +1,10 @@
import { generateText } from 'ai';
import { createOpenAI } from '@ai-sdk/openai';
import { Diagram } from '../../domain/diagram';
import type { Diagram } from '../../domain/diagram';
import { OPENAI_API_KEY } from '@/lib/env';
import { DatabaseType } from '@/lib/domain/database-type';
import { DBTable } from '@/lib/domain/db-table';
import { DataType } from '../data-types';
import type { DatabaseType } from '@/lib/domain/database-type';
import type { DBTable } from '@/lib/domain/db-table';
import type { DataType } from '../data-types';
const openai = createOpenAI({
apiKey: OPENAI_API_KEY,