text
stringlengths
3
8.33k
repo
stringclasses
52 values
path
stringlengths
6
141
language
stringclasses
35 values
sha
stringlengths
64
64
chunk_index
int32
0
273
n_tokens
int32
1
896
": "medium", "german_hits": 6, "english_hits": 0 }, "excerpt": "Resona AI Resona AI M. Özsoy, B. Heuer, B. Cepek, R. Barlow Betreuer: Dr. Gerald Bader Abteilung für Informatik Zielsetzung: » Viele kennen das Problem stören­ der Hintergrundgeräusche in Audioaufnahmen » Unsere eigene KI entfer...
diplomarbeit-ideen
.planning/corpus/content-samples.json
JSON
2b72de96d124a1a89f272a761856d567f2eed4f2699e3b61f7ccd5ae7a341ac0
13
896
"_SYPCopilot-Share/syp-projekte/roomsense/roomsense-poster.pdf", "project_slug": "roomsense", "parser": "pymupdf", "page_count": 1, "sampled_pages": 1, "sample_text_chars": 1351, "chars_per_sampled_page": 1351, "image_count_sample": 6, "images_per_sampled_page": 6.0, ...
diplomarbeit-ideen
.planning/corpus/content-samples.json
JSON
3f7a7ed5e0e515d989721220c7d6e7313d23f7d847540b10db95146e21719f76
14
896
": 360, "sampled_pages": 5, "sample_text_chars": 10971, "chars_per_sampled_page": 2194, "image_count_sample": 7, "images_per_sampled_page": 1.4, "text_yield": "high", "ocr_candidate": false, "language_guess": { "language": "de", "confidence": "high", ...
diplomarbeit-ideen
.planning/corpus/content-samples.json
JSON
f4c78857297d966cb7f747ee577b1eee827b4caf14684218e4b21f0e74f4af50
15
896
_Toc220708744 \\h 8 2.2.4 Ausblick PAGEREF _Toc220708745 \\h 8 2.2.5 Weiterverwendung der gewonnenen Erkenntnisse PAGEREF _Toc220708746 \\h 8 2.2.6 Wirtschaftliches Potenzial und Entrepreneurship-Charakter PAGEREF _Toc220708747 \\h 8 2.3 Bericht der Projektkoordinatorin bzw. des Projektkoordinators PAGER", "error...
diplomarbeit-ideen
.planning/corpus/content-samples.json
JSON
5e9c90297461ed1f68dd07e8a676658f6219615bba3e49b89bf5e02b88043702
16
896
gefährdet die Tierwelt, sieht schlecht aus, teuer zu managen Globales Müllproblem Hintergrund Ausgangssituation: Müllablagerung entstehen sowohl in ländlichen sowie städtischen Gebieten Kontrollen erfolgen manuell Wird", "error": null }, { "relative_path": "_SYPCopilot-Share/syp-projekte/nook/nook-a...
diplomarbeit-ideen
.planning/corpus/content-samples.json
JSON
130bd9856d483cc53198082b60f357d241224ae39addf682737d82f9aae8a11e
17
896
Filter testen Filter bearbeiten ", "error": null }, { "relative_path": "_SYPCopilot-Share/syp-projekte/resona/resona-diplomaidea.pptx", "project_slug": "resona", "suffix": ".pptx", "text_chars": 1009, "language_guess": { "language": "en", "confidence": "medium...
diplomarbeit-ideen
.planning/corpus/content-samples.json
JSON
dd7d3dc50ae3a2117ec90f9843473707058dd60decfcfc50e2d421b1298e7c52
18
896
"error": null } ], "video_samples": [ { "relative_path": "_SYPCopilot-Share/syp-projekte/airchif/airchif-video-kurz.mov", "project_slug": "airchif", "size_bytes": 78451642, "duration_seconds": 37.12, "width": 1080, "height": 1920, "error": null }, { "r...
diplomarbeit-ideen
.planning/corpus/content-samples.json
JSON
6698fb0544d5423efdb11a8301d17e81fd46e008383d9344289d0efb56dfdba7
19
896
"height": 1920, "error": null }, { "relative_path": "_SYPCopilot-Share/syp-projekte/resona/resona-video-lang.mp4", "project_slug": "resona", "size_bytes": 511657555, "duration_seconds": 332.02, "width": 2560, "height": 1440, "error": null }, { "relat...
diplomarbeit-ideen
.planning/corpus/content-samples.json
JSON
ce62cdcd566b05807cbb190a37052c638a73d76d838d934e762764e557429b8a
20
206
# Corpus Report: Thesis Idea Engine **Generated:** 2026-06-30T21:08:44+00:00 **Archive:** `C:\Development\Private\diplomarbeit-ideen\_SYPCopilot-Share (1).zip` **Extraction root:** `C:\Development\Private\diplomarbeit-ideen\.planning\corpus\raw` **Approval status:** Pending user approval before indexing ## Executive ...
diplomarbeit-ideen
.planning/corpus/CORPUS-REPORT.md
Markdown
8ea4411b29861e484aef67315dfcb65ac2acb2d34f44706219d2eb6c7449ab11
0
896
blindIn-abnahmeprotokoll.pdf | 10 | medium | 1131 | 0.8 | False | de | | _SYPCopilot-Share/syp-projekte/blindin/blindin-diplomarbeit.pdf | 105 | medium | 595 | 0.6 | False | de | | _SYPCopilot-Share/syp-projekte/blindin/blindin-ideenpräsentation.pdf | 12 | low | 13 | 1.0 | True | de | | _SYPCopilot-Share/syp-projekte/b...
diplomarbeit-ideen
.planning/corpus/CORPUS-REPORT.md
Markdown
0f8ac257d407fef948ed3a5593de20ce87ecf847825b8342d18ac8b95378ea9a
1
896
citation_label` ### Chunking Chunk primary thesis/report PDFs by structural headings when available, otherwise by page windows with overlap; keep posters, proposals, and presentations as short supporting chunks with explicit document_type. ### Retrieval Use Qdrant hybrid dense+sparse retrieval with RRF. Add payload...
diplomarbeit-ideen
.planning/corpus/CORPUS-REPORT.md
Markdown
64265ef27862d5bb29290ac109926a03993a692b777e09af186584b7035f208f
2
313
{ "generated_at": "2026-06-30T21:08:44+00:00", "file_count": 86, "total_size_bytes": 5152431293, "extensions": [ [ ".pdf", 50 ], [ ".mp4", 12 ], [ ".pptx", 9 ], [ ".png", 8 ], [ ".mov", 4 ], [ ".docx", ...
diplomarbeit-ideen
.planning/corpus/inventory-summary.json
JSON
5ac4221a991ccd343ec17d45998e1c2d1e8f350da4f803d9645687748732a554
0
896
/blindin/blindin-video-kurz.mp4", "_SYPCopilot-Share/syp-projekte/blindin/blindin-video-lang.mp4" ] }, { "project_slug": "dailybuddy", "file_count": 10, "total_size_bytes": 273975078, "types": [ [ "presentation", 2 ], [ ...
diplomarbeit-ideen
.planning/corpus/inventory-summary.json
JSON
54257c3e526af46fc42a3aae0888913f6787a0b4c90a702ae92dd5bc55db9995
1
896
/syp-projekte/nook/nook-jahrbucheintrag.pdf", "_SYPCopilot-Share/syp-projekte/nook/nook-logo.png", "_SYPCopilot-Share/syp-projekte/nook/nook-poster.pdf", "_SYPCopilot-Share/syp-projekte/nook/nook-video-kurz.mp4", "_SYPCopilot-Share/syp-projekte/nook/nook-video-lang.mov", "_SYPCop...
diplomarbeit-ideen
.planning/corpus/inventory-summary.json
JSON
6d80f060db6fafa72c3153cff99af4ad29b07f3588f73706e719910e611d7324
2
896
, "_SYPCopilot-Share/syp-projekte/roomsense/roomsense-logo.png", "_SYPCopilot-Share/syp-projekte/roomsense/roomsense-poster.pdf", "_SYPCopilot-Share/syp-projekte/roomsense/roomsense-projekt-antrag.pdf", "_SYPCopilot-Share/syp-projekte/roomsense/roomsense-projektbericht.pdf", "_SY...
diplomarbeit-ideen
.planning/corpus/inventory-summary.json
JSON
3bf4f2d3801a460bf2660ba72270ff194079ad1d9255bc47aca506d72378fbb3
3
183
{ "generated_at": "2026-06-30T21:08:44+00:00", "files": [ { "relative_path": "_SYPCopilot-Share/syp-projekte/airchif/airchif-aba-antrag.pdf", "name": "airchif-aba-antrag.pdf", "suffix": ".pdf", "size_bytes": 347420, "modified_utc": "2026-06-30T21:03:18+00:00", "project_slug":...
diplomarbeit-ideen
.planning/corpus/manifest.json
JSON
642baf45457dfe917ef2107c25c22ee40baecd4f251036ec05946ade9c0e5ad2
0
896
, { "relative_path": "_SYPCopilot-Share/syp-projekte/airchif/airchif-video-lang.MOV", "name": "airchif-video-lang.MOV", "suffix": ".mov", "size_bytes": 345315080, "modified_utc": "2026-06-30T21:03:19+00:00", "project_slug": "airchif", "document_type": "video" }, { ...
diplomarbeit-ideen
.planning/corpus/manifest.json
JSON
5e7afc798ad8f56ff66c6a6ef25e36cce4d4b85a07588a38ccb5becb13ff35f6
1
896
"blindin-projektbericht.pdf", "suffix": ".pdf", "size_bytes": 352671, "modified_utc": "2026-06-30T21:03:19+00:00", "project_slug": "blindin", "document_type": "report" }, { "relative_path": "_SYPCopilot-Share/syp-projekte/blindin/blindin-video-kurz.mp4", "name": "blindi...
diplomarbeit-ideen
.planning/corpus/manifest.json
JSON
bd595902c81692e498100c6a937ecd2ba4912179fa0a2b8a5ddca0054747610f
2
896
: "2026-06-30T21:03:20+00:00", "project_slug": "dailybuddy", "document_type": "video" }, { "relative_path": "_SYPCopilot-Share/syp-projekte/dailybuddy/dailybuddy-video-lang.mp4", "name": "dailybuddy-video-lang.mp4", "suffix": ".mp4", "size_bytes": 232643753, "modified_u...
diplomarbeit-ideen
.planning/corpus/manifest.json
JSON
22e139b3f8edaa66cd95f3974d273f87d53e14a34e149797718e28a3542d8c93
3
896
"presentation" }, { "relative_path": "_SYPCopilot-Share/syp-projekte/gebaerdentrainer/gebaerdentrainer-jahrbuch.pdf", "name": "gebaerdentrainer-jahrbuch.pdf", "suffix": ".pdf", "size_bytes": 414056, "modified_utc": "2026-06-30T21:03:20+00:00", "project_slug": "gebaerdentraine...
diplomarbeit-ideen
.planning/corpus/manifest.json
JSON
d39fbb96e3abc0c50de3f05701b206c00587369814c69908d2da133a73c6dc61
4
896
": "nook-da.pdf", "suffix": ".pdf", "size_bytes": 3814261, "modified_utc": "2026-06-30T21:03:20+00:00", "project_slug": "nook", "document_type": "pdf-other" }, { "relative_path": "_SYPCopilot-Share/syp-projekte/nook/nook-ideenpraesentation.pdf", "name": "nook-ideenpraes...
diplomarbeit-ideen
.planning/corpus/manifest.json
JSON
236d8c9d664d590d71335d7982c6469122e495da991f277c1f627d729abb68c6
5
896
: "2026-06-30T21:03:22+00:00", "project_slug": "openmask", "document_type": "presentation" }, { "relative_path": "_SYPCopilot-Share/syp-projekte/openmask/openmask-antrag.pdf", "name": "openmask-antrag.pdf", "suffix": ".pdf", "size_bytes": 169324, "modified_utc": "2026-0...
diplomarbeit-ideen
.planning/corpus/manifest.json
JSON
48a606c2bfa61333b4f904461ecf795e3f37ab4fa048d4cae022c92663f1b90a
6
896
": "planning" }, { "relative_path": "_SYPCopilot-Share/syp-projekte/openmask/openmask-zwischenpraesentation.pptx", "name": "openmask-zwischenpraesentation.pptx", "suffix": ".pptx", "size_bytes": 83457612, "modified_utc": "2026-06-30T21:03:23+00:00", "project_slug": "openmask"...
diplomarbeit-ideen
.planning/corpus/manifest.json
JSON
5254f068c347374598d8716f36a6df32033d212274c5f9d2efddfd4f9492f298
7
896
"resona-video-lang.mp4", "suffix": ".mp4", "size_bytes": 511657555, "modified_utc": "2026-06-30T21:03:24+00:00", "project_slug": "resona", "document_type": "video" }, { "relative_path": "_SYPCopilot-Share/syp-projekte/roomsense/roomsense-acceptance-protocol.pdf", "name"...
diplomarbeit-ideen
.planning/corpus/manifest.json
JSON
b4164790fd8b89e6c18bd66af162ded6459ce3b9f3f118fc4030d6fe8d9ea3a4
8
896
size_bytes": 153124085, "modified_utc": "2026-06-30T21:03:24+00:00", "project_slug": "roomsense", "document_type": "video" }, { "relative_path": "_SYPCopilot-Share/syp-unterlagen/SYP-Buch-3te.pdf", "name": "SYP-Buch-3te.pdf", "suffix": ".pdf", "size_bytes": 44396212, ...
diplomarbeit-ideen
.planning/corpus/manifest.json
JSON
847201e7d53a096d1ba0f07fff625189c36607bfa0fa4d6d22a692b2bc752de0
9
234
{ "generated_at": "2026-06-30T21:08:44+00:00", "status": "proposed", "recommendations": { "parser_strategy": { "pdf": "Use PyMuPDF/pypdf text extraction first; queue OCR only for low-text or image-heavy PDFs flagged by discovery.", "presentations": "Extract slide text and speaker notes; retain sli...
diplomarbeit-ideen
.planning/corpus/proposed-schema.json
JSON
9c63211b22c3222ce96266e6c16b63920291899a8b4700c5be770b64cf75f1f1
0
483
--- phase: 1 plan: 01-01 type: implementation wave: 1 depends_on: [] files_modified: - scripts/corpus_discovery.py - .planning/corpus/archive-inspection.json - .planning/corpus/manifest.json - .planning/corpus/inventory-summary.json autonomous: true requirements: - CORP-01 - CORP-02 --- # Plan 01-01: Locat...
diplomarbeit-ideen
.planning/phases/01-corpus-discovery-and-design-approval/01-01-PLAN.md
Markdown
349e9afd5d5b8fd365b7009485d9018b47ea96e9e56acc329653817eb31f8be1
0
776
--- phase: 01-corpus-discovery-and-design-approval plan: 01-01 subsystem: corpus tags: [corpus, archive, inventory, discovery] requires: [] provides: - Safe ZIP discovery and extraction workflow - Corpus archive inspection evidence - File inventory and project-folder summary affects: [phase-2, phase-3, retrieval,...
diplomarbeit-ideen
.planning/phases/01-corpus-discovery-and-design-approval/01-01-SUMMARY.md
Markdown
065b002fa9e201567d92ca76b70096be5a24fdc17d5d58630fb461af87c158d4
0
569
--- phase: 1 plan: 01-02 type: implementation wave: 2 depends_on: - 01-01 files_modified: - scripts/corpus_discovery.py - .planning/corpus/content-samples.json autonomous: true requirements: - CORP-02 - CORP-03 --- # Plan 01-02: Characterize Content, Language, Metadata, and Parsing/OCR Needs <objective> Cha...
diplomarbeit-ideen
.planning/phases/01-corpus-discovery-and-design-approval/01-02-PLAN.md
Markdown
f8857674293a7223c8ec580b00dc3faab82d5896ce105c33379e962f9bd65a71
0
615
--- phase: 01-corpus-discovery-and-design-approval plan: 01-02 subsystem: corpus tags: [pdf, ocr, language, metadata, video] requires: - phase: 01-corpus-discovery-and-design-approval provides: 01-01 inventory and extracted corpus provides: - PDF text-yield and OCR candidate evidence - Office and presentation...
diplomarbeit-ideen
.planning/phases/01-corpus-discovery-and-design-approval/01-02-SUMMARY.md
Markdown
21a659abb47010dfb44bfa449048115004fede2ef834e4dbb7c239853eeca97e
0
480
--- phase: 1 plan: 01-03 type: implementation wave: 3 depends_on: - 01-01 - 01-02 files_modified: - .planning/corpus/CORPUS-REPORT.md - .planning/corpus/proposed-schema.json - .planning/corpus/APPROVAL-MANIFEST.json - .planning/STATE.md autonomous: true requirements: - CORP-04 - CORP-05 --- # Plan 01-0...
diplomarbeit-ideen
.planning/phases/01-corpus-discovery-and-design-approval/01-03-PLAN.md
Markdown
3d53a373d4dd846fefc4b445cb010c5efc2814660cfd72c08dc32347b709fdec
0
753
--- phase: 01-corpus-discovery-and-design-approval plan: 01-03 subsystem: corpus tags: [approval, schema, chunking, qdrant, embeddings] requires: - phase: 01-corpus-discovery-and-design-approval provides: 01-01 inventory evidence - phase: 01-corpus-discovery-and-design-approval provides: 01-02 content chara...
diplomarbeit-ideen
.planning/phases/01-corpus-discovery-and-design-approval/01-03-SUMMARY.md
Markdown
dde9aabcafe084c8a5f0d060e39305c033387d422118c9dc0bd0ed983d75f8de
0
599
# Phase 1: Corpus Discovery and Design Approval - Context **Gathered:** 2026-06-30T22:49:13+02:00 **Status:** Ready for planning <domain> ## Phase Boundary Phase 1 locates and safely unpacks the provided thesis archive, inventories and characterizes the real corpus, then produces a Corpus Report with a proposed inge...
diplomarbeit-ideen
.planning/phases/01-corpus-discovery-and-design-approval/01-CONTEXT.md
Markdown
8581ea680901da78fcd445bf521fa48521fc872050ed1651997f007e4a2fa096
0
896
must cover final choices plus confidence levels, assumptions, unresolved gaps, and mitigations for each approved choice. ### Claude's Discretion No decisions were delegated to Claude. The selected choices above are locked for planning. </decisions> <canonical_refs> ## Canonical References **Downstream agents MUST r...
diplomarbeit-ideen
.planning/phases/01-corpus-discovery-and-design-approval/01-CONTEXT.md
Markdown
098a70ff7afcad75d8d104cc68ffe9b14df130898bd2096edd7125d18b6b2d58
1
439
# Phase 1: Corpus Discovery and Design Approval - Discussion Log > **Audit trail only.** Do not use as input to planning, research, or execution agents. > Decisions are captured in CONTEXT.md - this log preserves the alternatives considered. **Date:** 2026-06-30T22:49:13+02:00 **Phase:** 1-Corpus Discovery and Design...
diplomarbeit-ideen
.planning/phases/01-corpus-discovery-and-design-approval/01-DISCUSSION-LOG.md
Markdown
5616e667851a3da37a247c689eb93a28e0b4f7442f5cda5e92a12f77a0a9dde0
0
896
should trigger needs user confirmation before proceeding inside the Corpus Report? | Flag all irreversible or high-cost choices; Only flag embedding model and metadata schema; Ask only if confidence is low; You decide | Flag all irreversible or high-cost choices | **Notes:** Characterization must be evidence-backed en...
diplomarbeit-ideen
.planning/phases/01-corpus-discovery-and-design-approval/01-DISCUSSION-LOG.md
Markdown
393ce8d359ad78754c0f5974127a2edc38d6b85a19396362e42740d90e33c7df
1
368
--- status: passed phase: 1-corpus-discovery-and-design-approval source: [01-VERIFICATION.md] started: "2026-06-30T21:06:00Z" updated: "2026-06-30T21:10:00Z" --- # Phase 1 UAT: Corpus Design Approval ## Current Test number: 1 name: Approve or revise corpus-derived indexing contract expected: | User reviews CORPUS-...
diplomarbeit-ideen
.planning/phases/01-corpus-discovery-and-design-approval/01-UAT.md
Markdown
d0e97078658c8cf5edd1a27d85a9d1dedf9169a9dddcfe932dd210ab575f5c96
0
206
--- status: passed phase: 1 phase_name: Corpus Discovery and Design Approval checked_at: "2026-06-30T21:06:00Z" automated_checks: passed human_verification_count: 0 --- # Phase 1 Verification: Corpus Discovery and Design Approval Automated verification passed and the user approved the corpus-derived indexing contract...
diplomarbeit-ideen
.planning/phases/01-corpus-discovery-and-design-approval/01-VERIFICATION.md
Markdown
ebc24cad1bd1b51b728b85d3a2e99210849634fca16fbcfe407bfeb73d887b23
0
482
# Plan 02-01: Clone/adapt Vercel Chatbot template and preserve baseline features ## Scope Import the official Vercel Chatbot template into the project and keep its baseline product surface intact. ## Work Completed - Cloned `vercel/ai-chatbot` to `C:\tmp\ai-chatbot-template` with depth 1. - Pinned imported template...
diplomarbeit-ideen
.planning/phases/02-template-and-cloud-foundation/02-01-PLAN.md
Markdown
1c696cb3d381303cf38d0361ad021fbb8a4f8d3cdad5462234fd225e1cd46753
0
204
# Summary 02-01: Template baseline imported Imported the Vercel Chatbot template at commit `2becdb4a56e7683ae08aef927cec1c6c52dfad5e` and retained the template app structure. The repo now has the Next.js app, Auth.js flow, database migrations, artifact handlers, editor/code support, Playwright tests, and deployment me...
diplomarbeit-ideen
.planning/phases/02-template-and-cloud-foundation/02-01-SUMMARY.md
Markdown
6373dff6fc82008c6c079d4cd9b904f378d70f618334953d8d73fb24ae30a1d5
0
102
# Plan 02-02: Add cloud environment validation and local setup documentation ## Scope Define and validate the cloud env contract before runtime calls to Vercel services, Qdrant Cloud, Neon/Postgres, Redis, Vercel Blob, AI Gateway, and Gemini embeddings. ## Work Completed - Added project env keys to `.env.example`: ...
diplomarbeit-ideen
.planning/phases/02-template-and-cloud-foundation/02-02-PLAN.md
Markdown
29d7b105664492c111484af091a2d03bb10ba1997d532e77fda29cbfdd21efb8
0
235
# Summary 02-02: Environment contract added Added a reusable env validation module and CLI for the project foundation. The contract validates template service variables plus Qdrant and Gemini variables, including the Phase 1-approved embedding model candidates. Verification result: `pnpm env:check:example` passed wit...
diplomarbeit-ideen
.planning/phases/02-template-and-cloud-foundation/02-02-SUMMARY.md
Markdown
680e6a664e9ee805e8c848e3acf54ad2ca6b5945775ec16aeb415779bf7b95a4
0
73
# Plan 02-03: Establish Vitest and Playwright command baseline ## Scope Create lean test commands for Phase 2 and ensure the imported Playwright harness is callable without Unix-only shell syntax. ## Work Completed - Added `vitest` as a dev dependency. - Added `cross-env` as a dev dependency. - Added `pnpm test:uni...
diplomarbeit-ideen
.planning/phases/02-template-and-cloud-foundation/02-03-PLAN.md
Markdown
615deeb5775057ae0855cfc117382eb62442fd6259a35a12ce82ff44d6c92d40
0
217
# Summary 02-03: Test command baseline established Added focused unit and E2E command scripts. `pnpm test:unit` now targets only `tests/unit`, avoiding imported Playwright specs and template mock files. `pnpm test:e2e` uses `cross-env` so the command works on Windows. Verification results: - `pnpm test:unit`: 1 file...
diplomarbeit-ideen
.planning/phases/02-template-and-cloud-foundation/02-03-SUMMARY.md
Markdown
906f77df395392dbd0abb706676a776c0f5785f52a4b00f6c2aab3762a74b552
0
112
# Phase 2 Context: Template and Cloud Foundation ## Goal Establish the Vercel Chatbot baseline and the configuration/test harness needed before ingestion, retrieval, and chat-tool work. ## Inputs - Phase 1 approval manifest: `.planning/corpus/APPROVAL-MANIFEST.json` approved on 2026-06-30. - Corpus report: high vis...
diplomarbeit-ideen
.planning/phases/02-template-and-cloud-foundation/02-CONTEXT.md
Markdown
a5e3a6d92f885f504e4c81c394efdfe2fe13fdb38b9a4d2465d8e5ffceba7b66
0
498
# Phase 2 UAT ## Acceptance Criteria - [x] Vercel Chatbot template baseline is imported and template provenance is recorded. - [x] Auth, persistence, multimodal input, artifacts, chat route, and code artifact infrastructure are preserved for later adaptation. - [x] Vercel/Neon/Redis/Blob/AI Gateway/Qdrant/Gemini env ...
diplomarbeit-ideen
.planning/phases/02-template-and-cloud-foundation/02-UAT.md
Markdown
e279a45eb7cc9f4164978d4edb7217c7db35f14abdadc4f48ccdf53356f19324
0
182
# Phase 2 Verification ## Commands Run | Command | Result | Notes | |---------|--------|-------| | `pnpm env:check:example` | Passed | Placeholder secrets accepted as warnings for `.env.example`. | | `pnpm test:unit` | Passed | 1 test file, 4 tests. | | `pnpm typecheck` | Passed | `tsc --noEmit`. | | `pnpm check` | P...
diplomarbeit-ideen
.planning/phases/02-template-and-cloud-foundation/02-VERIFICATION.md
Markdown
3ffc5944f801533fc26bd10b3feebda3b5f8a3cb391f054c0a807248205ec58f
0
259
# Plan 03-01: Implement corpus-derived extraction, chunking, metadata, and deterministic IDs ## Scope Extract corpus text from the approved raw archive, normalize it into document records, and produce deterministic chunk payloads with citation provenance. ## Work Completed - Added `scripts/extract-corpus-text.py` f...
diplomarbeit-ideen
.planning/phases/03-ingestion-and-hybrid-retrieval-engine/03-01-PLAN.md
Markdown
eef7cbba65ccc05863475f7b6a1d2166e18350d01b7516ae1c1423aa93ee43d0
0
219
# Summary 03-01: Extraction and chunking implemented Added local extraction and typed chunking for the approved corpus design. The extractor writes ignored JSONL records, while TypeScript chunking produces deterministic chunk IDs, page provenance, citation labels, and approved metadata fields. Dry-run result: 62 extr...
diplomarbeit-ideen
.planning/phases/03-ingestion-and-hybrid-retrieval-engine/03-01-SUMMARY.md
Markdown
bdf0b2b588e232ac0b19fea7e9a7394455c5c141c161c43eb9b843ed77028591
0
72
# Plan 03-02: Create Qdrant collection, sparse/dense indexing, payload indexes, and idempotent upserts ## Scope Implement the indexing primitives needed to create/update the approved Qdrant hybrid collection and upsert chunk-level points repeatedly without changing IDs. ## Work Completed - Added `lib/retrieval/spar...
diplomarbeit-ideen
.planning/phases/03-ingestion-and-hybrid-retrieval-engine/03-02-PLAN.md
Markdown
ae89ce665cfb1b0d94410d2d94a932ed450f7bd44705afee13d83e1fb34c84a4
0
255
# Summary 03-02: Hybrid indexing primitives implemented Added sparse encoding, Gemini embedding adapter, Qdrant collection/index/upsert wrapper, and ingestion CLI. The dry-run path can build the full chunk/sparse-vector corpus without secrets. Real upsert is available through `pnpm corpus:ingest` once the env contract...
diplomarbeit-ideen
.planning/phases/03-ingestion-and-hybrid-retrieval-engine/03-02-SUMMARY.md
Markdown
51948731a337e85dfe3df8d8618d38011df65b8649db85e8b50f997f1c46fd4d
0
66
# Plan 03-03: Implement retrieval wrapper and focused unit tests ## Scope Expose a reusable hybrid query wrapper and tests for chunking, sparse vector behavior, and Qdrant request shapes. ## Work Completed - Added `queryHybridPriorWork` for dense+sparse prefetch with RRF fusion. - Added `buildPayloadFilter` for app...
diplomarbeit-ideen
.planning/phases/03-ingestion-and-hybrid-retrieval-engine/03-03-PLAN.md
Markdown
91b4222b1aad6042e9496f92ce696a929c659988aceb81d4381204a9b72af2b1
0
159
# Summary 03-03: Retrieval wrapper and tests added Implemented typed hybrid retrieval request construction and focused tests for the ingestion/retrieval contracts. The unit suite now covers 4 files and 11 tests.
diplomarbeit-ideen
.planning/phases/03-ingestion-and-hybrid-retrieval-engine/03-03-SUMMARY.md
Markdown
c0a122284119a6e4c571f84b16990110fe7e06eecf66faf8dec7f6d47a9f7aae
0
38
# Phase 3 Context: Ingestion and Hybrid Retrieval Engine ## Goal Build the approved corpus ingestion path and typed retrieval wrapper for Qdrant hybrid dense+sparse search. ## Inputs - Approved corpus manifest: `.planning/corpus/APPROVAL-MANIFEST.json`. - Extracted raw archive: `.planning/corpus/raw/` (ignored). - ...
diplomarbeit-ideen
.planning/phases/03-ingestion-and-hybrid-retrieval-engine/03-CONTEXT.md
Markdown
798df6c2ce9f425dc78090dde226d1f49664ac9a7cf9268bd3e83cc5e1556315
0
449
# Phase 3 UAT ## Acceptance Criteria - [x] Corpus extraction can run over the approved raw archive. - [x] Chunk IDs are deterministic and include citation provenance. - [x] Sparse vectors are deterministic and stable across reruns. - [x] Ingestion dry-run produces chunk, sparse stats, and ingestion-plan artifacts wit...
diplomarbeit-ideen
.planning/phases/03-ingestion-and-hybrid-retrieval-engine/03-UAT.md
Markdown
10e478f1a3a3528dd4bbeb26813d8f9b299f95638c6f861cc154c9ab29c16402
0
194
# Phase 3 Verification ## Commands Run | Command | Result | Notes | |---------|--------|-------| | `pnpm corpus:extract` | Passed | 62 text documents, 24 non-text files skipped, 0 errors. | | `pnpm corpus:ingest:dry-run` | Passed | 2,747 chunks, 2,747 sparse vectors, 32-dim mock dense vectors, no upsert. | | `pnpm te...
diplomarbeit-ideen
.planning/phases/03-ingestion-and-hybrid-retrieval-engine/03-VERIFICATION.md
Markdown
395d708206dbd8401a696e439e3ffafd2b53c3eb2edc4765f97e82db1e3f505b
0
261
# Plan 04-01: Implement AI SDK tools and grounding prompt for both chat modes ## Scope Wire retrieval-backed prior-work tools into the chat route and update prompts so both Spark-to-ideas and Build-on-top flows are grounded before ideas are proposed. ## Work Completed - Added `lib/retrieval/local.ts` for local JSON...
diplomarbeit-ideen
.planning/phases/04-grounded-ideation-flows-and-proposal-artifact/04-01-PLAN.md
Markdown
ea06974fa3b8c0af685b097a218370d5a14625fec1a79e3b95f03cb2d0a554f4
0
229
# Summary 04-01: Retrieval-backed chat tools added Implemented prior-work search, thesis lookup, and extension discovery tools and exposed them to the AI SDK chat route. The system prompt now treats grounded archive evidence as mandatory for thesis ideation.
diplomarbeit-ideen
.planning/phases/04-grounded-ideation-flows-and-proposal-artifact/04-01-SUMMARY.md
Markdown
9f52ca605699917e7853c56b48107e2fb993d4a4870d0c85868b15c05307c1a9
0
49
# Plan 04-02: Implement thesis-proposal artifact and structured citation persistence ## Scope Add a custom proposal artifact kind that can stream cited Markdown, be edited, and participate in the template's document versioning flow. ## Work Completed - Added `artifacts/thesis-proposal/server.ts` with a citation-pre...
diplomarbeit-ideen
.planning/phases/04-grounded-ideation-flows-and-proposal-artifact/04-02-PLAN.md
Markdown
58d4d52b0880b8583e645d1ab35bfb108ab2169f8e726d9d6c8dbf7de1d34b28
0
204
# Summary 04-02: Proposal artifact registered Added a first-class `thesis-proposal` artifact kind with streaming server generation, client rendering/editing, document persistence registration, and create-document tool support.
diplomarbeit-ideen
.planning/phases/04-grounded-ideation-flows-and-proposal-artifact/04-02-SUMMARY.md
Markdown
b1f8be51fa892fb51260575c4f3b5acbacdae46d71bd3a811a2e3ab222061173
0
42
# Plan 04-03: Add E2E tests and idea-quality checks ## Scope Add focused verification for local retrieval behavior, proposal quality, and source-level E2E coverage for the two ideation flows plus proposal artifact revision. ## Work Completed - Added `lib/quality/idea-quality.ts` and `scripts/evaluate-idea-quality.t...
diplomarbeit-ideen
.planning/phases/04-grounded-ideation-flows-and-proposal-artifact/04-03-PLAN.md
Markdown
41f5763ffdf035d7382abf0c046396531bdb4cda909c67440472b038ef68e7d8
0
183
# Summary 04-03: Quality and flow coverage added Added deterministic quality scoring plus focused unit tests, and registered gated Playwright coverage for both ideation flows and thesis-proposal artifact revision.
diplomarbeit-ideen
.planning/phases/04-grounded-ideation-flows-and-proposal-artifact/04-03-SUMMARY.md
Markdown
452fcf3a20c58ea1d3e9d813e24dd65f38b97bd0ee435463fa0131b67b5b89a2
0
36
# Phase 4 Context: Grounded Ideation Flows and Proposal Artifact ## Goal Expose the retrieval engine through chat tools, make grounded thesis ideation the default behavior, and add an editable cited proposal artifact. ## Inputs - Phase 3 retrieval wrappers, local chunk index, and dry-run corpus output. - Vercel Cha...
diplomarbeit-ideen
.planning/phases/04-grounded-ideation-flows-and-proposal-artifact/04-CONTEXT.md
Markdown
e748ba34b0336832eeaac2a2e6de73c1a85a4b53751f2a0288e8271642a29cb0
0
417
# Phase 4 UAT ## Acceptance Criteria - [x] Spark-to-ideas is represented in the prompt and E2E source coverage. - [x] Build-on-top is represented through thesis lookup/extension tools and E2E source coverage. - [x] Chat route exposes server-side prior-work search, thesis lookup, and extension discovery tools. - [x] P...
diplomarbeit-ideen
.planning/phases/04-grounded-ideation-flows-and-proposal-artifact/04-UAT.md
Markdown
b93bfd28cf3ad8248f194de1c194272f5b7211803c110d85d5a9f6630c0aea44
0
234
# Phase 4 Verification ## Commands Run | Command | Result | Notes | |---------|--------|-------| | `pnpm fix` | Passed | Ultracite/Biome formatting applied, then clean. | | `pnpm check` | Passed | 156 files checked, no fixes applied. | | `pnpm typecheck` | Passed | `tsc --noEmit`. | | `pnpm test:unit` | Passed | 6 fi...
diplomarbeit-ideen
.planning/phases/04-grounded-ideation-flows-and-proposal-artifact/04-VERIFICATION.md
Markdown
7edd97fff476e52c7e880102559f0626d017812bd95899f0b357fe85f69dc86d
0
377
--- status: complete created: 2026-07-01 completed: 2026-07-01 --- # Quick Task: Gateway Fallback and Evidence UX ## Goal Restore optional Vercel AI Gateway support without making it required, select Sonnet 5 as the Gateway-backed default when Gateway credentials are available, and improve the German archive-grounde...
diplomarbeit-ideen
.planning/quick/20260701-gateway-evidence-ui/PLAN.md
Markdown
29cc78b3ab1f4c88daab48d375c9c1d373cd4f9b92538ea013ac93583a1a9f38
0
148
--- status: complete completed: 2026-07-01 --- # Summary: Gateway Fallback and Evidence UX ## Completed - Restored optional AI Gateway support while keeping direct `@ai-sdk/google` Gemini 3.5 Flash available. - Added dynamic `/api/models` defaults: Sonnet 5 via `anthropic/claude-sonnet-5` when Gateway credentials ex...
diplomarbeit-ideen
.planning/quick/20260701-gateway-evidence-ui/SUMMARY.md
Markdown
917d98b72788ea2db92baec55deb70ee60316724ea4d0111a1751e0b31856210
0
294
--- status: complete created: 2026-07-01 completed: 2026-07-01 --- # Quick Task: Production Gemini and Qdrant Hardening ## Goal Switch production chat away from Vercel AI Gateway to direct Gemini 3.5 Flash via `@ai-sdk/google`, make retrieval more German-aware for Diplomarbeit ideation, and verify live Postgres/Qdr...
diplomarbeit-ideen
.planning/quick/20260701-prod-hardening/PLAN.md
Markdown
7bf9ca1880d9dd4eca79f7bd7da6f4db263ac234ddec3347a7928acd712465de
0
161
--- status: complete completed: 2026-07-01 --- # Summary: Production Gemini and Qdrant Hardening ## Completed - Switched production chat/title models to direct `@ai-sdk/google` Gemini Interactions using `gemini-3.5-flash`. - Removed AI Gateway from the required env contract and production route/provider path. - Adde...
diplomarbeit-ideen
.planning/quick/20260701-prod-hardening/SUMMARY.md
Markdown
12155ebfc929691ffcfeedc3b49860f3b93004f6e78a71ff0937c5ec34077451
0
411
--- status: complete created: 2026-07-01 completed: 2026-07-01 --- # Quick Task: SEO, Gateway Catalog, and Technical README ## Goal Improve production readiness and presentation for the German Diplomarbeit idea engine: use the HTL Donaustadt logo, improve SEO metadata, make model selection prefer Gemini first while ...
diplomarbeit-ideen
.planning/quick/20260701-seo-gateway-readme/PLAN.md
Markdown
39899b2be82f32d19e136234595baf21daf3f725ae9bafb3c431e7a3a79830d2
0
217
--- status: complete completed: 2026-07-01 --- # Summary: SEO, Gateway Catalog, and Technical README ## Completed - Downloaded and committed the HTL Donaustadt logo as `public/images/htl-donaustadt-logo.png`, `app/icon.png`, and `app/apple-icon.png`. - Added German SEO metadata, Open Graph and Twitter image metadata...
diplomarbeit-ideen
.planning/quick/20260701-seo-gateway-readme/SUMMARY.md
Markdown
aab573c008f92a2771dc7cb5382e9c66d085b810b339be2da7574216a8fbcfb3
0
350
# Architecture Research **Domain:** AI-assisted thesis ideation over a prior-work corpus **Researched:** 2026-06-30 **Confidence:** MEDIUM ## Recommended Architecture ## Major Components 1. **Next.js Chat App** - Vercel Chatbot template baseline. - Keeps auth, persistence, multimodal input, artifacts, and cod...
diplomarbeit-ideen
.planning/research/ARCHITECTURE.md
Markdown
45b102b1e0a71563eababe92ce57299145015130279fb3c7c87691c682035685
0
800
# Feature Research **Domain:** AI-assisted thesis ideation over a prior-work corpus **Researched:** 2026-06-30 **Confidence:** MEDIUM-HIGH ## Table Stakes ### Corpus Discovery - Archive location and unpacking workflow. - Inventory of file types, counts, languages, folder structure, naming conventions, and existing ...
diplomarbeit-ideen
.planning/research/FEATURES.md
Markdown
4fc5e39d8982a30b9fcb06ce5abba1a970a2b00fa09e5a31b9fef240b4df0875
0
721
# Pitfalls Research **Domain:** AI-assisted thesis ideation over a prior-work corpus **Researched:** 2026-06-30 **Confidence:** MEDIUM-HIGH ## Critical Pitfalls ### 1. Locking the Embedding Model Too Early **Risk:** Dense vector spaces are incompatible. Choosing text-only versus multimodal before seeing the archive...
diplomarbeit-ideen
.planning/research/PITFALLS.md
Markdown
0af37fdad60322391ee6460da9d74949acf6bf1d14a5ac4f468bf4c3c202aadb
0
896
Mapping | Pitfall | Phase That Must Address It | |---------|----------------------------| | Embedding model too early | Phase 1 | | Weak metadata and filters | Phase 1, Phase 3 | | Dense-only retrieval | Phase 3 | | Citation drift | Phase 4 | | Generic ideas | Phase 4 | | Non-idempotent ingestion | Phase 3 | | Secret ...
diplomarbeit-ideen
.planning/research/PITFALLS.md
Markdown
a9d7b129a95975f593edb4f2f8bf1dc3755c1d4f89a8e028f0da009fc9a98f3a
1
184
# Stack Research **Domain:** AI-assisted thesis ideation over an archival school corpus **Researched:** 2026-06-30 **Confidence:** MEDIUM-HIGH ## Recommended Stack ### Core Technologies | Technology | Version | Purpose | Why Recommended | |------------|---------|---------|-----------------| | Vercel Chatbot templat...
diplomarbeit-ideen
.planning/research/STACK.md
Markdown
a955a0ccb7eca1a1352a2ae61cfc08ff27f156ada9ae07dc5bce4d055c4a8607
0
896
---------|-------------|-------------------------| | Qdrant hybrid dense+sparse | Dense-only vector search | Only for a corpus with no exact names, acronyms, or multilingual/compound technical terms. This project likely needs hybrid. | | Gemini Embedding 2 Preview if corpus is visual | `gemini-embedding-001` text-only ...
diplomarbeit-ideen
.planning/research/STACK.md
Markdown
49c44f47e684143acb82f559a026f4b994529ace331bf300ef1bc5ec4b6a1c47
1
809
# Project Research Summary **Project:** Thesis Idea Engine **Domain:** AI-assisted thesis ideation over an archival school corpus **Researched:** 2026-06-30 **Confidence:** MEDIUM-HIGH ## Executive Summary This project should be built as a corpus-grounded AI product, not as a generic chatbot. The first deliverable m...
diplomarbeit-ideen
.planning/research/SUMMARY.md
Markdown
d038c4362cdf77de8ea36492cdf59233099f88797aa3fcff32d6a3ea611d3762
0
896
manifests, and upserts. ## Implications for Roadmap ### Phase 1: Corpus Discovery and Ingestion Design **Rationale:** Every downstream technical choice depends on the unknown archive shape. **Delivers:** Corpus Report plus proposed ingestion, metadata, chunking, retrieval, and embedding design. **Addresses:** Corpus-...
diplomarbeit-ideen
.planning/research/SUMMARY.md
Markdown
97a50eb65ac74b1fd1dd24ece0e12555ceb9e0f1731f9cd92ebca7d01c33a58a
1
896
/docs/embeddings - Google AI official docs: https://ai.google.dev/gemini-api/docs/models/gemini-embedding-2-preview ### Secondary (MEDIUM confidence) - Inferences from the Vercel Chatbot template requirement in `PRD.md`; exact implementation details should be verified after cloning the template. --- *Research comple...
diplomarbeit-ideen
.planning/research/SUMMARY.md
Markdown
fb610d256b6ef000a42db84faca4bcffb16430c34315ef6be9f07d29014721b8
2
89
{ "editor.defaultFormatter": "esbenp.prettier-vscode", "[javascript]": { "editor.defaultFormatter": "biomejs.biome" }, "[typescript]": { "editor.defaultFormatter": "biomejs.biome" }, "[javascriptreact]": { "editor.defaultFormatter": "biomejs.biome" }, "[typescriptreact]": { "editor.defau...
diplomarbeit-ideen
.vscode/settings.json
JSON
e08a7f419b23852a5202107fa84c4dd5d54881b998f4bf59db3d52640930fe00
0
367
@import "tailwindcss"; @import "katex/dist/katex.min.css"; @source "../node_modules/streamdown/dist/index.js"; @custom-variant dark (&:is(.dark, .dark *)); @plugin "tailwindcss-animate"; @plugin "@tailwindcss/typography"; @theme inline { --radius-sm: calc(var(--radius) - 4px); --radius-md: calc(var(--radius) - ...
diplomarbeit-ideen
app/globals.css
CSS
6b6624c136c98ddeb8815e3ad259c283665678ca71544db230b160d20b9fac27
0
896
: oklch(0.9 0 0); --ring: oklch(0.5 0 0); --chart-1: oklch(0.646 0.222 41.116); --chart-2: oklch(0.6 0.118 184.704); --chart-3: oklch(0.398 0.07 227.392); --chart-4: oklch(0.828 0.189 84.429); --chart-5: oklch(0.769 0.188 70.08); --sidebar: oklch(0.97 0 0); --sidebar-foreground: oklch(0.38 0 0); --sid...
diplomarbeit-ideen
app/globals.css
CSS
2ac98805b879f71ca32eacc6cec2f798565ee2446a6dd8494b1826384fcc7e98
1
896
2px oklch(0 0 0 / 0.2), 0 0.5px 1px oklch(0 0 0 / 0.15); --shadow-float: 0 0 0 1px oklch(1 0 0 / 0.06), 0 16px 48px -6px oklch(0 0 0 / 0.35), 0 6px 12px -2px oklch(0 0 0 / 0.2); --shadow-composer: 0 1px 3px oklch(0 0 0 / 0.2), inset 0 1px 0 oklch(1 0 0 / 0.03); --shadow-composer-focus: 0 0 0 1...
diplomarbeit-ideen
app/globals.css
CSS
a1a962d0c80855070e142c80d7822305680b6f25f30a070bd59c8b41b3afa4b0
2
896
0); } } @keyframes thinking-dot { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } } @keyframes glow-pulse { 0%, 100% { box-shadow: 0 0 0 0 oklch(0.55 0.12 250 / 0%); } 50% { box-shadow: 0 0 0 3px oklch(0.55 0.12 2...
diplomarbeit-ideen
app/globals.css
CSS
d0261452f092830010b00e52681f7fb02719570e6acfe9cdf487a8674aa85d0e
3
896
* { scrollbar-width: thin; scrollbar-color: oklch(0 0 0 / 0.12) transparent; } .dark * { scrollbar-color: oklch(1 0 0 / 0.1) transparent; } *::-webkit-scrollbar { width: 4px; height: 4px; } *::-webkit-scrollbar-track { background: transparent; } *::-webkit-scrollbar-thumb { ...
diplomarbeit-ideen
app/globals.css
CSS
5e7b6bc70f5712f6147ea0a00281ffd1417b9ad5e8b9e5fa6985f1b1e579e2d2
4
210
import type { Metadata } from "next"; import { ThemeProvider } from "@/components/theme-provider"; import { TooltipProvider } from "@/components/ui/tooltip"; import "./globals.css"; import { SessionProvider } from "next-auth/react"; const siteUrl = process.env.NEXT_PUBLIC_APP_URL ?? (process.env.VERCEL_PROJECT_PR...
diplomarbeit-ideen
app/layout.tsx
TypeScript
8edcc5dc825ddfbb2120be56a533a10250eeb3f78e4e9e8f5c1564b574941708
0
866
import type { NextAuthConfig } from "next-auth"; const base = process.env.NEXT_PUBLIC_BASE_PATH ?? ""; export const authConfig = { basePath: "/api/auth", trustHost: true, pages: { signIn: `${base}/login`, newUser: `${base}/`, }, providers: [], callbacks: {}, } satisfies NextAuthConfig;
diplomarbeit-ideen
app/(auth)/auth.config.ts
TypeScript
b2dc17a5d21c9c690dee898c28cbbe49a5a23ec45ff4cd82b454e516c5079b56
0
83
import { ArrowLeftIcon } from "lucide-react"; import Link from "next/link"; import { SparklesIcon, VercelIcon } from "@/components/chat/icons"; import { Preview } from "@/components/chat/preview"; export default function AuthLayout({ children, }: { children: React.ReactNode; }) { return ( <div className="fle...
diplomarbeit-ideen
app/(auth)/layout.tsx
TypeScript
f023c9f8399dacb13b1f811592f01a688513ef870d72e46bf48b284706630d23
0
441
export { GET, POST } from "@/app/(auth)/auth";
diplomarbeit-ideen
app/(auth)/api/auth/[...nextauth]/route.ts
TypeScript
a1b62e353db41f9945fc41b0cf9ecb519f474185be92b58657ddb7cd490e477f
0
19
import { NextResponse } from "next/server"; import { getToken } from "next-auth/jwt"; import { signIn } from "@/app/(auth)/auth"; import { isDevelopmentEnvironment } from "@/lib/constants"; export async function GET(request: Request) { const { searchParams } = new URL(request.url); const rawRedirect = searchParams...
diplomarbeit-ideen
app/(auth)/api/auth/guest/route.ts
TypeScript
a109cd04f4620d2070c76fd481f78d05d72322ed7ceaf8a342b9f6b412a95a27
0
211
"use client"; import Link from "next/link"; import { useRouter } from "next/navigation"; import { useSession } from "next-auth/react"; import { useActionState, useEffect, useState } from "react"; import { AuthForm } from "@/components/chat/auth-form"; import { SubmitButton } from "@/components/chat/submit-button"; im...
diplomarbeit-ideen
app/(auth)/login/page.tsx
TypeScript
c39c1e924464672be6b834f5d33e6891c28ef4ef25ea4821fb4a83c19546c7a8
0
507
"use client"; import Link from "next/link"; import { useRouter } from "next/navigation"; import { useSession } from "next-auth/react"; import { useActionState, useEffect, useState } from "react"; import { AuthForm } from "@/components/chat/auth-form"; import { SubmitButton } from "@/components/chat/submit-button"; imp...
diplomarbeit-ideen
app/(auth)/register/page.tsx
TypeScript
3750719967de56bca6d5518926b6afefa572bd59560f79adceffb1ccb6a91e2d
0
561
"use server"; import { generateText, type UIMessage } from "ai"; import { cookies } from "next/headers"; import { auth } from "@/app/(auth)/auth"; import type { VisibilityType } from "@/components/chat/visibility-selector"; import { titlePrompt } from "@/lib/ai/prompts"; import { getTitleModel } from "@/lib/ai/provide...
diplomarbeit-ideen
app/(chat)/actions.ts
TypeScript
f105f478bf88cff61c77496a47903d0d53c735b61f0c3b52dfc40afb8f68ad4d
0
495
import { cookies } from "next/headers"; import Script from "next/script"; import { Suspense } from "react"; import { Toaster } from "sonner"; import { AppSidebar } from "@/components/chat/app-sidebar"; import { DataStreamProvider } from "@/components/chat/data-stream-provider"; import { ChatShell } from "@/components/c...
diplomarbeit-ideen
app/(chat)/layout.tsx
TypeScript
1dd6476201712b77fa29903b594f9666d150252dbb5cf41e03369807733aebfb
0
433
export default function Page() { return null; }
diplomarbeit-ideen
app/(chat)/page.tsx
TypeScript
b2f6ca49f1602dfbea9399a853dda8334cbf2026f6e1a3356f26ae699bcd42af
0
11
import { geolocation, ipAddress } from "@vercel/functions"; import { convertToModelMessages, createUIMessageStream, createUIMessageStreamResponse, generateId, stepCountIs, streamText, } from "ai"; import { checkBotId } from "botid/server"; import { after } from "next/server"; import { createResumableStreamC...
diplomarbeit-ideen
app/(chat)/api/chat/route.ts
TypeScript
10cba5ccc0212bcda0408badc91f6ca42b916965769aa13ddd1fa638d5a59648
0
896
, userId: session.user.id, title: "New chat", visibility: selectedVisibilityType, }); titlePromise = generateTitleFromUserMessage({ message }); } let uiMessages: ChatMessage[]; if (isToolApprovalFlow && messages) { const dbMessages = convertToUIMessages(messagesFr...
diplomarbeit-ideen
app/(chat)/api/chat/route.ts
TypeScript
2f405f99c50bf7ed1f8840571ec72d67cab0f0becf8ba27b70ccfd46e9ac227c
1
896
((currentMessage) => ({ id: currentMessage.id, role: currentMessage.role, parts: currentMessage.parts, createdAt: new Date(), attachments: [], chatId: id, })), }); } }, onError: (error) => { ...
diplomarbeit-ideen
app/(chat)/api/chat/route.ts
TypeScript
72a7b21fcdf60f74f96d9f514a0cc68b5dd1e95834dfc45a2f429fef6eaa71b8
2
458
import { z } from "zod"; const textPartSchema = z.object({ type: z.enum(["text"]), text: z.string().min(1).max(2000), }); const filePartSchema = z.object({ type: z.enum(["file"]), mediaType: z.enum(["image/jpeg", "image/png"]), name: z.string().min(1).max(100), url: z.string().url(), }); const partSchema...
diplomarbeit-ideen
app/(chat)/api/chat/schema.ts
TypeScript
91b19f0955d7a8db24430c9226f9b09084a8a6a230b13e2fb244d8e470947a57
0
321