An open API service indexing awesome lists of open source software.

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.

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
```