-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(DOCSP-30602): Ingest service prod pipeline (#42)
* stub out prod pipeline + add monorepo support * more monorepo conf * Release 0.0.2 * add release-it conf for relevant packages * add release-it conf for relevant packages * Release 0.0.3 * Release 0.0.4-0 * Release 0.0.4 * update package * Release 0.0.5 * fix GH actions/pr template * remove unused lerna scripts * trigger rerun * fix package.json * prod env setup * remove old comment * update server release conf * Release 1.0.1 * update package-lock * update release scripts * Release 1.0.2 * remove trigger file * ingest prod pipeline * post rebase cleanup * Release 0.0.6-0 * fix build issues * update lock * fix dependencies
- Loading branch information
Showing
5 changed files
with
3,692 additions
and
6,865 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
image: | ||
repository: node | ||
tag: 18 | ||
|
||
cronJobs: | ||
- name: ingest-all-content | ||
schedule: "0 6 * * *" # every day at 6am UTC (1AM EST) | ||
command: ["node", ".", "all"] | ||
env: | ||
OPENAI_EMBEDDING_MODEL: text-embedding-ada-002 | ||
OPENAI_EMBEDDING_MODEL_VERSION: 2023-03-15-preview | ||
MONGODB_DATABASE_NAME: docs-chatbot-prod | ||
VECTOR_SEARCH_INDEX_NAME: default | ||
OPENAI_CHAT_COMPLETION_MODEL_VERSION: 2023-06-01-preview | ||
envSecrets: | ||
MONGODB_CONNECTION_URI: docs-chatbot-prod | ||
OPENAI_ENDPOINT: docs-chatbot-prod | ||
OPENAI_API_KEY: docs-chatbot-prod | ||
OPENAI_EMBEDDING_DEPLOYMENT: docs-chatbot-prod | ||
OPENAI_CHAT_COMPLETION_DEPLOYMENT: docs-chatbot-prod | ||
DEVCENTER_CONNECTION_URI: docs-chatbot-prod | ||
resources: | ||
# guaranteed amount of resources | ||
requests: | ||
cpu: 100m | ||
memory: 2Gi | ||
# maximum allowed resources | ||
limits: | ||
cpu: 500m | ||
memory: 5Gi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.