Skip to content

The example code uses a vector store for an OpenAI embedded model. I use Indonesian EyD version 5 as an example. EyD (Ejaan yang Disempurnakan) mean Improved Spelling for the Indonesian Language

Notifications You must be signed in to change notification settings

erdie/vector-store-openai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vector Store OpenAI

An example code uses a vector store for the embedded model and GPT-4o OpenAI API

I use the Indonesian EyD version 5 document for the knowledge base. EyD (Ejaan yang Disempurnakan) mean Improved Spelling for the Indonesian Language

Install

Node version 20

pnpm install

Run the code

node --env-file=.env index.cjs

Vector Store Reference

Vector Store objects give the File Search tool the ability to search your files. Adding a file to a vector_store automatically parses, chunks, embeds, and stores the file in a vector database that's capable of both keyword and semantic search.

https://platform.openai.com/docs/assistants/tools/file-search/vector-stores

Document Source

https://badanbahasa.kemdikbud.go.id/resource/doc/files/SK_EYD_Edisi_V_16082022.pdf

About

The example code uses a vector store for an OpenAI embedded model. I use Indonesian EyD version 5 as an example. EyD (Ejaan yang Disempurnakan) mean Improved Spelling for the Indonesian Language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published