Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sample_data_url=https://csciblob.blob.core.windows.net/product-data/output.json?

SentenceTransformer=msmarco-distilbert-dot-v5,all-mpnet-base-v2,nq-distilbert-base-v1,all-MiniLM-L6-v2
GPT_3=curie-search-query-msft,babbage-search-query-msft,ada-search-query-msft
OPENAI_API_KEY=YOUR_OPEAN_API_KEY
OPENAI_API_KEY=YOUR_OPENAI_API_KEY


fields=[{"name": "name", "type": "Edm.String"}, {"name": "quality", "type": "Collection(Edm.String)"}, {"name": "style", "type": "Collection(Edm.String)"}, {"name": "gender", "type": "Edm.String"}, {"name": "colors", "type": "Collection(Edm.String)"}, {"name": "type", "type": "Edm.String"}]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ You can easily compare the results in the following image.
||||
| SentenceTransformer | msmarco-distilbert-dot-v5, all-mpnet-base-v2, nq-distilbert-base-v1, all-MiniLM-L6-v2| List of all the models for compute the embeddings. You can add any [Sentence Transformers](https://huggingface.co/sentence-transformers) |
| GPT_3 | curie-search-query-msft,babbage-search-query-msft,ada-search-query-msft | List of all the models for compute the embeddings. You can add any [GPT-3 embedding model](https://beta.openai.com/docs/guides/embeddings) |
| OPENAI_API_KEY | YOUR_OPEAN_API_KEY | [OpenAI GPT-3 Key](https://beta.openai.com/docs/api-reference/authentication) |
| OPENAI_API_KEY | YOUR_OPENAI_API_KEY (which can be found at https://beta.openai.com/account/api-keys) | [OpenAI GPT-3 Key](https://beta.openai.com/docs/api-reference/authentication) |
||||
||||
| fields | <pre> [<br> {<br> "name": "name",<br> "type": "Edm.String"<br> },<br> {<br> "name": "quality",<br> "type": "Collection(Edm.String)"<br> },<br> {<br> "name": "style",<br> "type": "Collection(Edm.String)"<br> },<br> {<br> "name": "gender",<br> "type": "Edm.String"<br> },<br> {<br> "name": "colors",<br> "type": "Collection(Edm.String)"<br> },<br> {<br> "name": "type",<br> "type": "Edm.String"<br> }<br> ] </pre>| JSON version of all the fileds to be used for computing embeddings |
Expand Down