Skip to content

publicplan/wz_semantic_search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.env Settings

ELASTIC_USER=
ELASTIC_PASSWORD=
ELASTIC_URL=
EMBEDDING_MODEL="jinaai/jina-embeddings-v3"
EMBEDDING_URL=
PORT=3001

wz-api INDEX for ElasticSearch

{
  "mappings": {
    "properties": {
      "code": {
        "type": "keyword"
      },
      "name": {
        "type": "text"
      },
      "name_vector": {  
        "type": "dense_vector",
        "dims": 1024
      },
      "division_name": {
        "type": "text"
      },
      "division_name_vector": {  
        "type": "dense_vector",
        "dims": 1024
      },
      "group_name": {
        "type": "text"
      },
      "group_name_vector": {  
        "type": "dense_vector",
        "dims": 1024
      },
      "class_name": {
        "type": "text"
      },
      "class_name_vector": {  
        "type": "dense_vector",
        "dims": 1024
      },
      "explanation": {
        "type": "text"
      },
      "explanation_vector": {  
        "type": "dense_vector",
        "dims": 1024
      },
      "exclusions": {
        "type": "text"
      }
    }
  }
}

install

Pull the git repo and then:

npm i  

how to run

node index.js

About

API for WZ Key semantic search

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •