diff --git a/.env.example b/.env.example index bdf5c8b..193c983 100644 --- a/.env.example +++ b/.env.example @@ -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"}] diff --git a/README.md b/README.md index 11bdbca..7b05b56 100644 --- a/README.md +++ b/README.md @@ -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 |
[| JSON version of all the fileds to be used for computing embeddings |
{
"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"
}
]