Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: chat and messaging with openai 4o llm implementation #27

Merged
merged 24 commits into from
Nov 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
242637f
feat: chat list, welcome msg, page
Nyumat Nov 7, 2024
2eaa930
db: pgvector, 1536 embeddings, and chat models
Nyumat Nov 7, 2024
1120ac3
cfg: add dicebear image domain
Nyumat Nov 7, 2024
ff0ea2c
css: osu color and svg uri
Nyumat Nov 7, 2024
6fbac8f
ui: not found page
Nyumat Nov 7, 2024
b50097e
assets: add logo
Nyumat Nov 7, 2024
c8120e1
api: send chat - POST
Nyumat Nov 7, 2024
3393e29
security: protected routing - chat layout
Nyumat Nov 7, 2024
cbfb2eb
db: create and delete chats
Nyumat Nov 7, 2024
fa2a304
ui: chat area with attachment support
Nyumat Nov 7, 2024
d76f805
ui: initial chat flow and dialog
Nyumat Nov 7, 2024
245dbef
ui: framer-motion on files and upload
Nyumat Nov 7, 2024
4ee95f6
auth: use colored google icon
Nyumat Nov 7, 2024
13223c9
perf: use next-image pkg for logo
Nyumat Nov 7, 2024
751634d
ui: better PDF previews and deletion ux
Nyumat Nov 7, 2024
1fb4b86
security: add protection against unauthorized access vectors
Nyumat Nov 7, 2024
b9e82b2
db: add file visibility remove chunk/embedding
Nyumat Nov 8, 2024
0014c49
deps: add seed script and tsx
Nyumat Nov 8, 2024
2f7df48
perf: lazy url previews
Nyumat Nov 8, 2024
0dd6aad
feat: file visibility options & move upload to dialog
Nyumat Nov 8, 2024
51622c3
perf: prop drilling -> useContext
Nyumat Nov 8, 2024
fd2488a
refactor: make PDF upload dialog reusable
Nyumat Nov 8, 2024
73101fa
ui: style upload trigger in stats
Nyumat Nov 8, 2024
b6d0075
refactor: upload links automatically open dialog
Nyumat Nov 8, 2024
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
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
version: "3.8"
services:
postgres:
image: postgres:15
image: ankane/pgvector:latest
restart: always
environment:
POSTGRES_USER: prisma_user
POSTGRES_PASSWORD: prisma_password
POSTGRES_DB: prisma_db
volumes:
- postgres_data:/var/lib/postgresql/data
- ./scripts:/docker-entrypoint-initdb.d/init.sql
ports:
- "5432:5432"
networks:
Expand Down
2 changes: 1 addition & 1 deletion next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { NextConfig } from "next";

const nextConfig: NextConfig = {
images: {
domains: ["lh3.googleusercontent.com"],
domains: ["lh3.googleusercontent.com", "api.dicebear.com"],
},
};

Expand Down
Loading
Loading