You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Run the server with the desired model using the following command which enabled normalize embeddings (Omit the `NORMALIZE_EMBEDDINGS` if the model don't support normalize embeddings):
@@ -56,20 +55,22 @@ To run the embeddings endpoint locally as a standalone FastAPI server, follow th
56
55
57
56
To deploy the embeddings endpoint as an AWS Lambda Function using GitHub Actions, follow these steps:
58
57
59
-
1.Add your AWS credentials (`AWS_KEY` and `AWS_SECRET`) to the repository secrets. You can do this by navigating to https://github.com/username/open-text-embeddings/settings/secrets/actions.
58
+
1.[Fork](https://github.com/limcheekin/open-text-embeddings/fork) the repo.
60
59
61
-
2. Manually trigger the `Deploy Dev` or `Remove Dev` GitHub Actions to deploy or remove the AWS Lambda Function.
60
+
2. Add your AWS credentials (`AWS_KEY` and `AWS_SECRET`) to the repository secrets. You can do this by navigating to https://github.com/username/open-text-embeddings/settings/secrets/actions.
61
+
62
+
3. Manually trigger the `Deploy Dev` or `Remove Dev` GitHub Actions to deploy or remove the AWS Lambda Function.
62
63
63
64
## Testing the Embeddings Endpoint
64
65
65
-
To test the embeddings endpoint, this repository includes an `embeddings.ipynb` notebook with a LangChain-compatible `OpenAIEmbeddings` class.
66
+
To test the embeddings endpoint, the repository includes an [embeddings.ipynb](https://github.com/limcheekin/open-text-embeddings/blob/main/embeddings.ipynb) notebook with a LangChain-compatible `OpenAIEmbeddings` class.
66
67
67
68
To get started:
68
69
69
70
1. Install the dependencies by executing the following command:
Thank you very much for the following contributions:
4
-
[Vokturz](https://github.com/Vokturz) contributed [#2](https://github.com/limcheekin/open-text-embeddings/pull/2): support for CPU/GPU choice and initialization before starting the app.
3
+
Fixed readme and package publishing workflow, no changes to code.
0 commit comments