Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/berecat/openai-pinecone-search
Semantic search with openai's embeddings stored to pineconedb (vector database)
https://github.com/berecat/openai-pinecone-search
langchain openai pinecone python react t3-stack vector-embedding-database vector-embeddings
Last synced: 4 months ago
JSON representation
Semantic search with openai's embeddings stored to pineconedb (vector database)
- Host: GitHub
- URL: https://github.com/berecat/openai-pinecone-search
- Owner: berecat
- Created: 2022-08-02T21:44:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-31T21:20:58.000Z (over 1 year ago)
- Last Synced: 2024-09-27T12:42:42.544Z (4 months ago)
- Topics: langchain, openai, pinecone, python, react, t3-stack, vector-embedding-database, vector-embeddings
- Language: TypeScript
- Homepage:
- Size: 6.44 MB
- Stars: 14
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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.