Inspiration
My inspiration for this project was when my family went to Paris. I think we went because it was simply "popular". To be honest though, I knew there was a better vacation we could of had.
What it does
Uses vector search to retrieve relevant comments about your questions on a vacation location. Multiple LLMs use those comments to come up with the best answer and also a positive prompt association index. Multiple prompts can be used to create multiple indexes to then come up with the best vacation spot based on the user inputs.
How we built it
I mainly used the google cloud platform and mongodb for this project.
- I created a Vertex ai search AI application that searched www.reddit.com/* for relevant posts. (Its api doesnt do this well). The urls are stored based on the vacation location.
- Used PRAW (Reddit api wrapper) to access the posts and comments using the urls. Stored to google cloud storage
- Sorted the comments based on date and discarded the ones older than 3 years.
- Used gemini ai models to sort the comments based on relevancy
- Created vector embeddings of the sorted comments
- Moved all of the comments and their embeddings to mongodb
- Used fastAPI (python lib) to create an api the frontend can access a. this api used mongodb vector search, and gemini ai models to create the most relevant response an index described above
- Made the web app with nextjs
- Dockerized the web app and fastAPI script and ran them in google cloud run ## Challenges we ran into
- Data Acquisition Many sources of personal experiences and reviews were not available due to their terms and conditions.
- Data Processing A lot of time was used to process the comments and post from reddit. It was also a lengthy process. ## Accomplishments that we're proud of I started this project with very little knowledge and now I know the capabilities of cloud computing. I'm proud I got this far without giving up due to the lack of knowledge I had. I'm proud I was able to overcome the challenges that I thought were too big. ## What we learned Cloud computing is a very powerful tool ## What's next for Find your vacation Determine the pipeline from raw use prompt to best vacation spot. Also to increase speed of search.
Built With
- atlasvectorsearch
- fastapi
- geminiapi
- googlecloudrun
- googlecloudstorage
- javascript
- mongodb
- nextjs
- python
- react
- redditpraw
- vertexai
- vertexaibatch