My portfolio site https://yblee85.github.io/.
It conists of 2 parts;
-
frontend(next.js app) that serves my portfolio page. One of features areChat with my agentwhich you can ask anything about me and it will respond based on given context that are based on my experience. Hosted in github page -
backend(ruby) REST api that has/api/chatendpoint which receives a question from a client and generates response using claude. Contexts (My personal experience) are downloaded separately using github personal access token. Hosted in digitalocean (App Platform)
-
Anthropic API key: to generate answer based on given context
-
Voyage AI API key (embeddings): to generate text embeddings for semantic search/retrieval in the RAG pipeline.
- Alternatively, we can run embedding server locally using hugginface. (
backend/docker-compose.yml)
- Alternatively, we can run embedding server locally using hugginface. (
-
auth0 (IdP):
Chat with my agenttab is a protected route and requires oauth2 login (google, github, linkedin) -
At least one of following upstream IdPs
-
Google Developer console account (Auth Platform): if you want
Continue with google -
Github OAuth app (Developer settings): if you want
Continue with github -
Linkedin Developer, Company page: if you want
Continue with linkedin
-
-
Run
backend; see Docker (local + production-friendly). -
Run
frontend; see Local dev. -
Visit http://localhost:3000.