This is a small web application to show case 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
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
See Vite Configuration Reference.
Build the relevent API endpoints and point the front end applicaiton to it:
src/App.vue
:
/*
TODO: REPLACE WITH YOURS
<ENDPOINT_APP_SERVICES> is the endpoint of your app services
*/
const response = await axios.get(
'<ENDPOINT_APP_SERVICES>',
{ params }
);
npm install
npm run dev
npm run build