# AI Assistant
👉🏼 I've added a working demo @ [/ai](/ai)
Semantic search is powerful and it's part of the reason I build and publish this Today I Learned section on my website. Semantic search is even more powerful when you add natural language processing trained on a large language model. I'm making this page for notes on building a personal AI Assistant.
### Background
I written several essays in the last couple years on using tools to organize my workflow and thinking 1,2. In the last six months I've written two on Artificial Intelligence 3,4. I now use several different AI assistants within my text editor for coding. The same way I've applied my code documentation to the rest of my life here, I'm starting to realize how helpful AI assistants can be. I think I'll need one to interact with my public documentation and a second for me to interact with my private information like my calendar, chats, and emails.
I've recently started learning how to create embeddings using vector databases which can be chained to existing LLMs. I've started some documentation using LangChain and OpenAi @ [/docs/saas/OpenAI](/docs/saas/OpenAI) 5. Because the field is rapidly developing, I need a place to keep notes on it, so here we are.
#### Context Injection
#### Preprocessing
#### Embeddings
#### Data Storage
#### Prompt Engineering
#### Fine Tuning vs. Semantic Search
## Stack
- React
- Next.js
- Express
- Vercel
- Supabase
## ToDo
- fix all relative links so that result links work
- try alternative LLMs like Llama
- control the data training
- self host supabase or postgres for data
- sync the data with Github actions.
- combine my posts into a monorepo using markdown
- return to exporting my post into markdown or migrate
- iterative testing of various prompts
### Docs
-
-
### Repos
- PGVector
- SupaBase
- Docusaurus Integration
- MarkPrompt
-
- Mendable
- Llama Index
- Llama Hub
- Llama Index WordPress
- Llama Index Git Repo
- Llama Index GPT Retrieval Plugin -
### Resources
- ChatGPT for Supabase Docs -
- How I Built Supabase’s OpenAI Doc Search -
- Self-Host Supabase Edge Functions -
- Storing OpenAI embeddings in Postgres with pgvector -
- Mendable switches from Pinecone to Supabase for vector embeddings -
- Supabase Clippy: ChatGPT for Supabase Docs -
### Commercial Products
- Mendable -
- MarkPrompt -
---
### References
1. _Slow Thinking_ -
2. _A Second Brain_ -
3. _Artificial Intelligence_ -
4. _Artificial Intelligence (Part 2)_ -
5. TIL SasS OpenAI - [/docs/saas/OpenAI](/docs/saas/OpenAI)
6. MarkPrompt - [https://markprompt.com/docs#react](https://markprompt.com/docs#react)