Skip to content

Commit

Permalink
Wip attachment service
Browse files Browse the repository at this point in the history
  • Loading branch information
codewithcheese committed Aug 11, 2024
1 parent e7fc31d commit a006327
Show file tree
Hide file tree
Showing 23 changed files with 1,158 additions and 228 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
},
"type": "module",
"dependencies": {
"@ai-sdk/azure": "^0.0.18",
"@ai-sdk/amazon-bedrock": "^0.0.9",
"@ai-sdk/anthropic": "^0.0.35",
"@ai-sdk/azure": "^0.0.18",
"@ai-sdk/cohere": "^0.0.8",
"@ai-sdk/google": "^0.0.30",
"@ai-sdk/google-vertex": "^0.0.19",
Expand All @@ -70,7 +70,7 @@
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"dotenv": "^16.4.5",
"drizzle-orm": "^0.30.10",
"drizzle-orm": "^0.33.0",
"filepond": "^4.31.1",
"formsnap": "^1.0.1",
"highlight.js": "^11.7.0",
Expand All @@ -85,6 +85,7 @@
"svelte-filepond": "^0.2.2",
"svelte-french-toast": "^1.2.0",
"tailwind-merge": "^2.3.0",
"tailwind-variants": "^0.2.1"
"tailwind-variants": "^0.2.1",
"unstructured-client": "^0.14.3"
}
}
76 changes: 66 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions src/database/migrations/0013_tiny_glorian.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ALTER TABLE `sdk` ADD `type` text DEFAULT 'model' NOT NULL;
--> statement-breakpoint
INSERT INTO sdk (id, slug, type, name) VALUES
('unstructured', 'unstructured', 'document', 'Unstructured');
--> statement-breakpoint
INSERT INTO service (id, name, sdkId, baseURL) VALUES
('unstructured', 'Unstructured', 'unstructured', 'https://api.unstructured.io/general/v0/general');
Loading

0 comments on commit a006327

Please sign in to comment.