-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create STREAM_UPDATE Index #5
Conversation
入力テキストのEmbeddingを得るスクリプト$ node tools/gen-embedding.js こんにちは > "./sampledata/text/$(uuidgen).json" |
"metadata": { | ||
"contentsDeltaUri": "gs://my-demo-embbeddings2/index_dir3/", | ||
"config": { | ||
"dimensions": 1536, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://openai.com/blog/new-and-improved-embedding-model
Smaller embedding size. The new embeddings have only 1536 dimensions, one-eighth the size of davinci-001 embeddings, making the new embeddings more cost effective in working with vector databases.
メモ初期データを与えるGCSバケットではサブディレクトリを作ってはいけない。 {
"error": {
"code": 400,
"message": "The given root directory `gs://my-demo-embbeddings2/index_dir3/` contains unexpected subdirectory (e.g. `text/03E64EE5-9BD1-4185-99F2-32334821E844.json`). No subdirectory is allowed except \"delete/\".",
"status": "FAILED_PRECONDITION"
}
} |
次: IndexEndpointにデプロイしたIndexを差し替えるには? |
インデックス作成
完了!