https://github.com/mongodb-developer/listings-ai-vector-search
Small web app to demo vector search and gpt-4 working together.
https://github.com/mongodb-developer/listings-ai-vector-search
Last synced: 2 months ago
JSON representation
Small web app to demo vector search and gpt-4 working together.
- Host: GitHub
- URL: https://github.com/mongodb-developer/listings-ai-vector-search
- Owner: mongodb-developer
- Created: 2023-07-17T08:16:23.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-29T10:43:35.000Z (over 1 year ago)
- Last Synced: 2025-02-16T02:43:46.759Z (4 months ago)
- Language: Vue
- Size: 40 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Listings AI vector search demo
This is a small web application to show case [Atlas Vector search](https://www.mongodb.com/products/platform/atlas-vector-search) with GPT-4 filter building out of free text search.
To work with this front end please follow: [Leveraging OpenAI and MongoDB Atlas for Improved Search Functionality](https://www.mongodb.com/developer/products/atlas/atlas-vector-search-openai-filtering/)
## Recommended IDE Setup
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
## Customize configuration
See [Vite Configuration Reference](https://vitejs.dev/config/).
## Project Setup
Build the relevent API endpoints and point the front end applicaiton to it:
`src/App.vue`:
```
/*
TODO: REPLACE WITH YOURS
is the endpoint of your app services
*/
const response = await axios.get(
'',
{ params }
);
```### Install
```sh
npm install
```### Compile and Hot-Reload for Development
```sh
npm run dev
```### Compile and Minify for Production
```sh
npm run build
```