Skip to content

SurlyMae/ai-semantic-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI semantic search

A super simple starter kit to get you quickly prototyping

Using:

  • Node 20.10.0
  • dotenv
  • OpenAI
  • langchain
  • macOS: Sonoma 14.3
  • bash / zsh

🔎 Quick Start

Add your OpenAI API key

  • create a .env file in the root directory
  • create an OpenAI developer account
  • create an OpenAI API key
  • add your API key to the .env file using the following format: OPENAI_API_KEY="<APIKey>"

Install dependencies

$ npm i

Run the search

$ node search.js

Tweak the data and search term if needed

In search.js, you can:

  • change the data you're searching
  • change the search term

About

embeddings & similarity search using LangChain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published