Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mharrvic/semantic-search-openai-pinecone
Semantic search with openai's embeddings stored to pineconedb (vector database)
https://github.com/mharrvic/semantic-search-openai-pinecone
neondb nextjs openai pinecone prisma react t3-stack typescript
Last synced: about 1 month ago
JSON representation
Semantic search with openai's embeddings stored to pineconedb (vector database)
- Host: GitHub
- URL: https://github.com/mharrvic/semantic-search-openai-pinecone
- Owner: mharrvic
- Created: 2022-12-28T14:00:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-01-03T08:15:24.000Z (over 1 year ago)
- Last Synced: 2024-07-11T04:34:45.843Z (2 months ago)
- Topics: neondb, nextjs, openai, pinecone, prisma, react, t3-stack, typescript
- Language: TypeScript
- Homepage: https://semantic-search.mharrvic.com/
- Size: 910 KB
- Stars: 146
- Watchers: 4
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - mharrvic/semantic-search-openai-pinecone - Semantic search with openai's embeddings stored to pineconedb (vector database) (TypeScript)
README
# Semantic Search with OpenAI Embeddings and Pinecone
Demo link: https://semantic-search.mharrvic.com
You can use this https://public-semantic-search.mharrvic.com/ if you're having authentication issues.
Repo link: [https://github.com/mharrvic/semantic-search-openai-pinecone](https://github.com/mharrvic/semantic-search-openai-pinecone)
This is a demo app that shows how to use [OpenAI Embeddings](https://beta.openai.com/docs/guides/embeddings) and [Pinecone](https://pinecone.io) vector database to build a semantic search engine. Based on https://docs.pinecone.io/docs/semantic-text-search. You can run explore this freely using the free tier of Pinecone and OpenAI.
![semantic-search-openai-pinecone.png](semantic-search-openai-pinecone.png)
## Tech Stack
- [Next.js](https://nextjs.org)
- [NextAuth.js](https://next-auth.js.org)
- [Prisma](https://prisma.io)
- [Tailwind CSS](https://tailwindcss.com)
- [tRPC](https://trpc.io)
- [Pinecone vector db](https://pinecone.io)
- [OpenAI Embeddings](https://beta.openai.com/docs/guides/embeddings)
- [NeonDB serverless postgres db](neon.tech)## Demo Video
https://user-images.githubusercontent.com/15852818/209995984-25fefed6-956c-4c8e-90c5-e5a3db310c29.mp4
https://user-images.githubusercontent.com/15852818/209996939-06a97708-7bed-4a8e-997a-7df99523727c.mp4
## Learn More
## Input record
![semantic-search-openai-pinecone-input.png](semantic-search-openai-pinecone-input.png)
### Query
![semantic-search-openai-pinecone-query.png](semantic-search-openai-pinecone-query.png)
I recommend to watch this [youtube video](https://www.youtube.com/watch?v=5MaWmXwxFNQ) from AssemblyAI to learn more about embeddings.