@futdevpro/nts-dynamo 1.10.76 → 1.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/_collections/atlas-default-db-options.const.d.ts +28 -0
- package/build/_collections/atlas-default-db-options.const.d.ts.map +1 -0
- package/build/_collections/atlas-default-db-options.const.js +10 -0
- package/build/_collections/atlas-default-db-options.const.js.map +1 -0
- package/build/_collections/get-environment-settings.util.d.ts +3 -0
- package/build/_collections/get-environment-settings.util.d.ts.map +1 -0
- package/build/_collections/get-environment-settings.util.js +45 -0
- package/build/_collections/get-environment-settings.util.js.map +1 -0
- package/build/_collections/global-settings.const.d.ts.map +1 -1
- package/build/_collections/global-settings.const.js +9 -4
- package/build/_collections/global-settings.const.js.map +1 -1
- package/build/_models/control-models/app-params.control-model.d.ts +6 -0
- package/build/_models/control-models/app-params.control-model.d.ts.map +1 -1
- package/build/_models/control-models/app-params.control-model.js +29 -2
- package/build/_models/control-models/app-params.control-model.js.map +1 -1
- package/build/_models/control-models/app-params.control-model.spec.js +5 -4
- package/build/_models/control-models/app-params.control-model.spec.js.map +1 -1
- package/build/_models/control-models/endpoint-params.control-model.js +1 -1
- package/build/_models/control-models/endpoint-params.control-model.js.map +1 -1
- package/build/_models/interfaces/environment-settings.interface.d.ts +35 -0
- package/build/_models/interfaces/environment-settings.interface.d.ts.map +1 -0
- package/build/_models/interfaces/environment-settings.interface.js +3 -0
- package/build/_models/interfaces/environment-settings.interface.js.map +1 -0
- package/build/_models/interfaces/global-settings.interface.d.ts +34 -2
- package/build/_models/interfaces/global-settings.interface.d.ts.map +1 -1
- package/build/_modules/custom-data/index.d.ts.map +1 -1
- package/build/_modules/custom-data/index.js +1 -0
- package/build/_modules/custom-data/index.js.map +1 -1
- package/build/_modules/discord-assistant/_collections/dias-global-settings.const.d.ts +3 -0
- package/build/_modules/discord-assistant/_collections/dias-global-settings.const.d.ts.map +1 -0
- package/build/_modules/discord-assistant/_collections/dias-global-settings.const.js +17 -0
- package/build/_modules/discord-assistant/_collections/dias-global-settings.const.js.map +1 -0
- package/build/_modules/discord-assistant/_models/dias-global-settings.interface.d.ts +18 -0
- package/build/_modules/discord-assistant/_models/dias-global-settings.interface.d.ts.map +1 -0
- package/build/_modules/discord-assistant/_models/dias-global-settings.interface.js +3 -0
- package/build/_modules/discord-assistant/_models/dias-global-settings.interface.js.map +1 -0
- package/build/_modules/discord-assistant/_models/dias-knowledge.data-model.d.ts +10 -0
- package/build/_modules/discord-assistant/_models/dias-knowledge.data-model.d.ts.map +1 -0
- package/build/_modules/discord-assistant/_models/dias-knowledge.data-model.js +41 -0
- package/build/_modules/discord-assistant/_models/dias-knowledge.data-model.js.map +1 -0
- package/build/_modules/discord-assistant/_services/dias-chunk.data-service.d.ts +14 -0
- package/build/_modules/discord-assistant/_services/dias-chunk.data-service.d.ts.map +1 -0
- package/build/_modules/discord-assistant/_services/dias-chunk.data-service.js +88 -0
- package/build/_modules/discord-assistant/_services/dias-chunk.data-service.js.map +1 -0
- package/build/_modules/discord-assistant/_services/dias-io.control-service.d.ts +10 -0
- package/build/_modules/discord-assistant/_services/dias-io.control-service.d.ts.map +1 -0
- package/build/_modules/discord-assistant/_services/dias-io.control-service.js +39 -0
- package/build/_modules/discord-assistant/_services/dias-io.control-service.js.map +1 -0
- package/build/_modules/discord-assistant/_services/dias-main.control-service.d.ts +8 -0
- package/build/_modules/discord-assistant/_services/dias-main.control-service.d.ts.map +1 -0
- package/build/_modules/discord-assistant/_services/dias-main.control-service.js +23 -0
- package/build/_modules/discord-assistant/_services/dias-main.control-service.js.map +1 -0
- package/build/_modules/discord-assistant/_services/dias.service-base.d.ts +13 -0
- package/build/_modules/discord-assistant/_services/dias.service-base.d.ts.map +1 -0
- package/build/_modules/discord-assistant/_services/dias.service-base.js +61 -0
- package/build/_modules/discord-assistant/_services/dias.service-base.js.map +1 -0
- package/build/_modules/discord-assistant/index.d.ts +10 -0
- package/build/_modules/discord-assistant/index.d.ts.map +1 -0
- package/build/_modules/discord-assistant/index.js +23 -0
- package/build/_modules/discord-assistant/index.js.map +1 -0
- package/build/_modules/discord-assistant-voiced/_services/dias-discord-bot.control-service.d.ts +4 -0
- package/build/_modules/discord-assistant-voiced/_services/dias-discord-bot.control-service.d.ts.map +1 -0
- package/build/_modules/discord-assistant-voiced/_services/dias-discord-bot.control-service.js +8 -0
- package/build/_modules/discord-assistant-voiced/_services/dias-discord-bot.control-service.js.map +1 -0
- package/build/_modules/discord-assistant-voiced/index.d.ts +3 -0
- package/build/_modules/discord-assistant-voiced/index.d.ts.map +1 -0
- package/build/_modules/discord-assistant-voiced/index.js +26 -0
- package/build/_modules/discord-assistant-voiced/index.js.map +1 -0
- package/build/_modules/discord-bot/_collections/dibo-default-commands.const.d.ts +3 -0
- package/build/_modules/discord-bot/_collections/dibo-default-commands.const.d.ts.map +1 -0
- package/build/_modules/discord-bot/_collections/dibo-default-commands.const.js +13 -0
- package/build/_modules/discord-bot/_collections/dibo-default-commands.const.js.map +1 -0
- package/build/_modules/discord-bot/_collections/dibo-global-settings.conts.d.ts +3 -0
- package/build/_modules/discord-bot/_collections/dibo-global-settings.conts.d.ts.map +1 -0
- package/build/_modules/discord-bot/_collections/dibo-global-settings.conts.js +44 -0
- package/build/_modules/discord-bot/_collections/dibo-global-settings.conts.js.map +1 -0
- package/build/_modules/discord-bot/_collections/dibo-operations.util.d.ts +22 -0
- package/build/_modules/discord-bot/_collections/dibo-operations.util.d.ts.map +1 -0
- package/build/_modules/discord-bot/_collections/dibo-operations.util.js +261 -0
- package/build/_modules/discord-bot/_collections/dibo-operations.util.js.map +1 -0
- package/build/_modules/discord-bot/_models/dibo-command.interface.d.ts +8 -0
- package/build/_modules/discord-bot/_models/dibo-command.interface.d.ts.map +1 -0
- package/build/_modules/discord-bot/_models/dibo-command.interface.js +3 -0
- package/build/_modules/discord-bot/_models/dibo-command.interface.js.map +1 -0
- package/build/_modules/discord-bot/_models/dibo-last-mention-date.inteface.d.ts +7 -0
- package/build/_modules/discord-bot/_models/dibo-last-mention-date.inteface.d.ts.map +1 -0
- package/build/_modules/discord-bot/_models/dibo-last-mention-date.inteface.js +3 -0
- package/build/_modules/discord-bot/_models/dibo-last-mention-date.inteface.js.map +1 -0
- package/build/_modules/discord-bot/_models/dibo-last-message-date.interface.d.ts +6 -0
- package/build/_modules/discord-bot/_models/dibo-last-message-date.interface.d.ts.map +1 -0
- package/build/_modules/discord-bot/_models/dibo-last-message-date.interface.js +3 -0
- package/build/_modules/discord-bot/_models/dibo-last-message-date.interface.js.map +1 -0
- package/build/_modules/discord-bot/_models/global-bot-log-settings.interface.d.ts +88 -0
- package/build/_modules/discord-bot/_models/global-bot-log-settings.interface.d.ts.map +1 -0
- package/build/_modules/discord-bot/_models/global-bot-log-settings.interface.js +3 -0
- package/build/_modules/discord-bot/_models/global-bot-log-settings.interface.js.map +1 -0
- package/build/_modules/discord-bot/_services/dibo-commands.control-service.d.ts +12 -0
- package/build/_modules/discord-bot/_services/dibo-commands.control-service.d.ts.map +1 -0
- package/build/_modules/discord-bot/_services/dibo-commands.control-service.js +72 -0
- package/build/_modules/discord-bot/_services/dibo-commands.control-service.js.map +1 -0
- package/build/_modules/discord-bot/_services/dibo-io.control-service.d.ts +19 -0
- package/build/_modules/discord-bot/_services/dibo-io.control-service.d.ts.map +1 -0
- package/build/_modules/discord-bot/_services/dibo-io.control-service.js +176 -0
- package/build/_modules/discord-bot/_services/dibo-io.control-service.js.map +1 -0
- package/build/_modules/discord-bot/_services/dibo-main.control-service.d.ts +85 -0
- package/build/_modules/discord-bot/_services/dibo-main.control-service.d.ts.map +1 -0
- package/build/_modules/discord-bot/_services/dibo-main.control-service.js +228 -0
- package/build/_modules/discord-bot/_services/dibo-main.control-service.js.map +1 -0
- package/build/_modules/discord-bot/_services/dibo-routines.control-service.d.ts +13 -0
- package/build/_modules/discord-bot/_services/dibo-routines.control-service.d.ts.map +1 -0
- package/build/_modules/discord-bot/_services/dibo-routines.control-service.js +38 -0
- package/build/_modules/discord-bot/_services/dibo-routines.control-service.js.map +1 -0
- package/build/_modules/discord-bot/index.d.ts +12 -0
- package/build/_modules/discord-bot/index.d.ts.map +1 -0
- package/build/_modules/discord-bot/index.js +30 -0
- package/build/_modules/discord-bot/index.js.map +1 -0
- package/build/_modules/oauth2/index.d.ts.map +1 -1
- package/build/_modules/oauth2/index.js +7 -0
- package/build/_modules/oauth2/index.js.map +1 -1
- package/build/_modules/open-ai/_collections/oai-chunking.util.d.ts +74 -0
- package/build/_modules/open-ai/_collections/oai-chunking.util.d.ts.map +1 -0
- package/build/_modules/open-ai/_collections/oai-chunking.util.js +385 -0
- package/build/_modules/open-ai/_collections/oai-chunking.util.js.map +1 -0
- package/build/_modules/open-ai/_collections/oai-document.util.d.ts +4 -0
- package/build/_modules/open-ai/_collections/oai-document.util.d.ts.map +1 -0
- package/build/_modules/open-ai/_collections/oai-document.util.js +12 -0
- package/build/_modules/open-ai/_collections/oai-document.util.js.map +1 -0
- package/build/_modules/open-ai/_collections/oai-global-settings.const.d.ts +3 -0
- package/build/_modules/open-ai/_collections/oai-global-settings.const.d.ts.map +1 -0
- package/build/_modules/open-ai/_collections/oai-global-settings.const.js +9 -0
- package/build/_modules/open-ai/_collections/oai-global-settings.const.js.map +1 -0
- package/build/_modules/open-ai/_collections/oai-llm-predefined-requests-hu.conts.d.ts +3 -0
- package/build/_modules/open-ai/_collections/oai-llm-predefined-requests-hu.conts.d.ts.map +1 -0
- package/build/_modules/open-ai/_collections/oai-llm-predefined-requests-hu.conts.js +75 -0
- package/build/_modules/open-ai/_collections/oai-llm-predefined-requests-hu.conts.js.map +1 -0
- package/build/_modules/open-ai/_collections/oai-llm-predefined-requests.conts.d.ts +3 -0
- package/build/_modules/open-ai/_collections/oai-llm-predefined-requests.conts.d.ts.map +1 -0
- package/build/_modules/open-ai/_collections/oai-llm-predefined-requests.conts.js +68 -0
- package/build/_modules/open-ai/_collections/oai-llm-predefined-requests.conts.js.map +1 -0
- package/build/_modules/open-ai/_enums/oai-compare-result-type.enum.d.ts +6 -0
- package/build/_modules/open-ai/_enums/oai-compare-result-type.enum.d.ts.map +1 -0
- package/build/_modules/open-ai/_enums/oai-compare-result-type.enum.js +10 -0
- package/build/_modules/open-ai/_enums/oai-compare-result-type.enum.js.map +1 -0
- package/build/_modules/open-ai/_enums/oai-gpt-message-role.enum.d.ts +18 -0
- package/build/_modules/open-ai/_enums/oai-gpt-message-role.enum.d.ts.map +1 -0
- package/build/_modules/open-ai/_enums/oai-gpt-message-role.enum.js +40 -0
- package/build/_modules/open-ai/_enums/oai-gpt-message-role.enum.js.map +1 -0
- package/build/_modules/open-ai/_models/interfaces/oai-chunk-compare-result.interface.d.ts +7 -0
- package/build/_modules/open-ai/_models/interfaces/oai-chunk-compare-result.interface.d.ts.map +1 -0
- package/build/_modules/open-ai/_models/interfaces/oai-chunk-compare-result.interface.js +3 -0
- package/build/_modules/open-ai/_models/interfaces/oai-chunk-compare-result.interface.js.map +1 -0
- package/build/_modules/open-ai/_models/interfaces/oai-document-page.interface.d.ts +14 -0
- package/build/_modules/open-ai/_models/interfaces/oai-document-page.interface.d.ts.map +1 -0
- package/build/_modules/open-ai/_models/interfaces/oai-document-page.interface.js +3 -0
- package/build/_modules/open-ai/_models/interfaces/oai-document-page.interface.js.map +1 -0
- package/build/_modules/open-ai/_models/interfaces/oai-global-settings.interface.d.ts +6 -0
- package/build/_modules/open-ai/_models/interfaces/oai-global-settings.interface.d.ts.map +1 -0
- package/build/_modules/open-ai/_models/interfaces/oai-global-settings.interface.js +3 -0
- package/build/_modules/open-ai/_models/interfaces/oai-global-settings.interface.js.map +1 -0
- package/build/_modules/open-ai/_models/interfaces/oai-gpt-message.interface.d.ts +6 -0
- package/build/_modules/open-ai/_models/interfaces/oai-gpt-message.interface.d.ts.map +1 -0
- package/build/_modules/open-ai/_models/interfaces/oai-gpt-message.interface.js +3 -0
- package/build/_modules/open-ai/_models/interfaces/oai-gpt-message.interface.js.map +1 -0
- package/build/_modules/open-ai/_models/interfaces/oai-llm-predefined-requests.interface.d.ts +52 -0
- package/build/_modules/open-ai/_models/interfaces/oai-llm-predefined-requests.interface.d.ts.map +1 -0
- package/build/_modules/open-ai/_models/interfaces/oai-llm-predefined-requests.interface.js +3 -0
- package/build/_modules/open-ai/_models/interfaces/oai-llm-predefined-requests.interface.js.map +1 -0
- package/build/_modules/open-ai/_models/interfaces/oai-page-compare-result.interface.d.ts +13 -0
- package/build/_modules/open-ai/_models/interfaces/oai-page-compare-result.interface.d.ts.map +1 -0
- package/build/_modules/open-ai/_models/interfaces/oai-page-compare-result.interface.js +3 -0
- package/build/_modules/open-ai/_models/interfaces/oai-page-compare-result.interface.js.map +1 -0
- package/build/_modules/open-ai/_models/oai-doc-chunk.data-model.d.ts +18 -0
- package/build/_modules/open-ai/_models/oai-doc-chunk.data-model.d.ts.map +1 -0
- package/build/_modules/open-ai/_models/oai-doc-chunk.data-model.js +80 -0
- package/build/_modules/open-ai/_models/oai-doc-chunk.data-model.js.map +1 -0
- package/build/_modules/open-ai/_services/oai-chunk.service-base.d.ts +13 -0
- package/build/_modules/open-ai/_services/oai-chunk.service-base.d.ts.map +1 -0
- package/build/_modules/open-ai/_services/oai-chunk.service-base.js +170 -0
- package/build/_modules/open-ai/_services/oai-chunk.service-base.js.map +1 -0
- package/build/_modules/open-ai/_services/{embedding.control-service.d.ts → oai-embedding.control-service.d.ts} +3 -3
- package/build/_modules/open-ai/_services/oai-embedding.control-service.d.ts.map +1 -0
- package/build/_modules/open-ai/_services/{embedding.control-service.js → oai-embedding.control-service.js} +5 -5
- package/build/_modules/open-ai/_services/oai-embedding.control-service.js.map +1 -0
- package/build/_modules/open-ai/_services/oai-llm-chat.service-base.d.ts +161 -0
- package/build/_modules/open-ai/_services/oai-llm-chat.service-base.d.ts.map +1 -0
- package/build/_modules/open-ai/_services/oai-llm-chat.service-base.js +332 -0
- package/build/_modules/open-ai/_services/oai-llm-chat.service-base.js.map +1 -0
- package/build/_modules/open-ai/_services/oai-llm.service-base.d.ts +231 -0
- package/build/_modules/open-ai/_services/oai-llm.service-base.d.ts.map +1 -0
- package/build/_modules/open-ai/_services/oai-llm.service-base.js +438 -0
- package/build/_modules/open-ai/_services/oai-llm.service-base.js.map +1 -0
- package/build/_modules/open-ai/_services/{vector-data.service.d.ts → oai-vector-data.service.d.ts} +4 -4
- package/build/_modules/open-ai/_services/oai-vector-data.service.d.ts.map +1 -0
- package/build/_modules/open-ai/_services/{vector-data.service.js → oai-vector-data.service.js} +27 -7
- package/build/_modules/open-ai/_services/oai-vector-data.service.js.map +1 -0
- package/build/_modules/open-ai/index.d.ts +18 -4
- package/build/_modules/open-ai/index.d.ts.map +1 -1
- package/build/_modules/open-ai/index.js +35 -4
- package/build/_modules/open-ai/index.js.map +1 -1
- package/build/_modules/server/index.d.ts +1 -1
- package/build/_modules/server/index.d.ts.map +1 -1
- package/build/_modules/server/index.js +16 -2
- package/build/_modules/server/index.js.map +1 -1
- package/build/_modules/server/server-status/server-status.controller.d.ts.map +1 -1
- package/build/_modules/server/server-status/server-status.controller.js +10 -0
- package/build/_modules/server/server-status/server-status.controller.js.map +1 -1
- package/build/_modules/socket/index.d.ts.map +1 -1
- package/build/_modules/socket/index.js +18 -0
- package/build/_modules/socket/index.js.map +1 -1
- package/build/_modules/test/index.d.ts.map +1 -1
- package/build/_modules/test/index.js +5 -0
- package/build/_modules/test/index.js.map +1 -1
- package/build/_modules/usage/index.d.ts.map +1 -1
- package/build/_modules/usage/index.js +5 -0
- package/build/_modules/usage/index.js.map +1 -1
- package/build/_services/server/app.server.js +1 -2
- package/build/_services/server/app.server.js.map +1 -1
- package/build/index.d.ts +3 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +26 -1
- package/build/index.js.map +1 -1
- package/package.json +40 -10
- package/src/_collections/atlas-default-db-options.const.ts +10 -0
- package/src/_collections/get-environment-settings.util.ts +49 -0
- package/src/_collections/global-settings.const.ts +15 -4
- package/src/_collections/sample.env +21 -0
- package/src/_models/control-models/app-params.control-model.spec.ts +5 -4
- package/src/_models/control-models/app-params.control-model.ts +31 -2
- package/src/_models/control-models/endpoint-params.control-model.ts +1 -1
- package/src/_models/interfaces/environment-settings.interface.ts +59 -0
- package/src/_models/interfaces/global-settings.interface.ts +41 -1
- package/src/_modules/custom-data/index.ts +3 -0
- package/src/_modules/discord-assistant/_collections/dias-global-settings.const.ts +19 -0
- package/src/_modules/discord-assistant/_models/dias-global-settings.interface.ts +20 -0
- package/src/_modules/discord-assistant/_models/dias-knowledge.data-model.ts +46 -0
- package/src/_modules/discord-assistant/_services/dias-chunk.data-service.ts +152 -0
- package/src/_modules/discord-assistant/_services/dias-io.control-service.ts +59 -0
- package/src/_modules/discord-assistant/_services/dias-main.control-service.ts +28 -0
- package/src/_modules/discord-assistant/_services/dias.service-base.ts +81 -0
- package/src/_modules/discord-assistant/index.ts +36 -0
- package/src/_modules/discord-assistant-voiced/_services/dias-discord-bot.control-service.ts +11 -0
- package/src/_modules/discord-assistant-voiced/index.ts +36 -0
- package/src/_modules/discord-bot/_collections/dibo-default-commands.const.ts +17 -0
- package/src/_modules/discord-bot/_collections/dibo-global-settings.conts.ts +56 -0
- package/src/_modules/discord-bot/_collections/dibo-operations.util.ts +372 -0
- package/src/_modules/discord-bot/_models/dibo-command.interface.ts +12 -0
- package/src/_modules/discord-bot/_models/dibo-last-mention-date.inteface.ts +8 -0
- package/src/_modules/discord-bot/_models/dibo-last-message-date.interface.ts +6 -0
- package/src/_modules/discord-bot/_models/global-bot-log-settings.interface.ts +98 -0
- package/src/_modules/discord-bot/_services/dibo-commands.control-service.ts +120 -0
- package/src/_modules/discord-bot/_services/dibo-io.control-service.ts +245 -0
- package/src/_modules/discord-bot/_services/dibo-main.control-service.ts +304 -0
- package/src/_modules/discord-bot/_services/dibo-routines.control-service.ts +60 -0
- package/src/_modules/discord-bot/index.ts +36 -0
- package/src/_modules/oauth2/index.ts +8 -0
- package/src/_modules/open-ai/_collections/oai-chunking.util.ts +496 -0
- package/src/_modules/open-ai/_collections/oai-document.util.ts +10 -0
- package/src/_modules/open-ai/_collections/oai-global-settings.const.ts +9 -0
- package/src/_modules/open-ai/_collections/oai-llm-predefined-requests-hu.conts.ts +83 -0
- package/src/_modules/open-ai/_collections/oai-llm-predefined-requests.conts.ts +76 -0
- package/src/_modules/open-ai/_enums/oai-compare-result-type.enum.ts +7 -0
- package/src/_modules/open-ai/_enums/oai-gpt-message-role.enum.ts +45 -0
- package/src/_modules/open-ai/_models/interfaces/oai-chunk-compare-result.interface.ts +10 -0
- package/src/_modules/open-ai/_models/interfaces/oai-document-page.interface.ts +20 -0
- package/src/_modules/open-ai/_models/interfaces/oai-global-settings.interface.ts +8 -0
- package/src/_modules/open-ai/_models/interfaces/oai-gpt-message.interface.ts +7 -0
- package/src/_modules/open-ai/_models/interfaces/oai-llm-predefined-requests.interface.ts +57 -0
- package/src/_modules/open-ai/_models/interfaces/oai-page-compare-result.interface.ts +18 -0
- package/src/_modules/open-ai/_models/oai-doc-chunk.data-model.ts +92 -0
- package/src/_modules/open-ai/_services/oai-chunk.service-base.ts +214 -0
- package/src/_modules/open-ai/_services/{embedding.control-service.ts → oai-embedding.control-service.ts} +2 -2
- package/src/_modules/open-ai/_services/oai-llm-chat.service-base.ts +609 -0
- package/src/_modules/open-ai/_services/oai-llm.service-base.ts +648 -0
- package/src/_modules/open-ai/_services/{vector-data.service.ts → oai-vector-data.service.ts} +32 -5
- package/src/_modules/open-ai/index.ts +42 -4
- package/src/_modules/server/index.ts +18 -2
- package/src/_modules/server/server-status/server-status.controller.ts +13 -0
- package/src/_modules/socket/index.ts +23 -0
- package/src/_modules/test/index.ts +8 -0
- package/src/_modules/usage/index.ts +8 -0
- package/src/_services/server/app.server.ts +1 -1
- package/src/index.ts +28 -1
- package/build/_modules/open-ai/_services/embedding.control-service.d.ts.map +0 -1
- package/build/_modules/open-ai/_services/embedding.control-service.js.map +0 -1
- package/build/_modules/open-ai/_services/gpt.service-base.d.ts +0 -98
- package/build/_modules/open-ai/_services/gpt.service-base.d.ts.map +0 -1
- package/build/_modules/open-ai/_services/gpt.service-base.js +0 -284
- package/build/_modules/open-ai/_services/gpt.service-base.js.map +0 -1
- package/build/_modules/open-ai/_services/open-ai.service-base.d.ts +0 -21
- package/build/_modules/open-ai/_services/open-ai.service-base.d.ts.map +0 -1
- package/build/_modules/open-ai/_services/open-ai.service-base.js +0 -50
- package/build/_modules/open-ai/_services/open-ai.service-base.js.map +0 -1
- package/build/_modules/open-ai/_services/vector-data.service.d.ts.map +0 -1
- package/build/_modules/open-ai/_services/vector-data.service.js.map +0 -1
- package/build/_services/server/env-set.d.ts +0 -2
- package/build/_services/server/env-set.d.ts.map +0 -1
- package/build/_services/server/env-set.js +0 -20
- package/build/_services/server/env-set.js.map +0 -1
- package/src/_modules/open-ai/_services/gpt.service-base.ts +0 -438
- package/src/_modules/open-ai/_services/open-ai.service-base.ts +0 -69
- package/src/_services/server/env-set.ts +0 -21
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DyNTS_OAI_Chunk_ServiceBase = void 0;
|
|
4
|
+
const fsm_dynamo_1 = require("@futdevpro/fsm-dynamo");
|
|
5
|
+
const oai_doc_chunk_data_model_1 = require("../_models/oai-doc-chunk.data-model");
|
|
6
|
+
const oai_vector_data_service_1 = require("./oai-vector-data.service");
|
|
7
|
+
const open_ai_1 = require("@futdevpro/fsm-dynamo/open-ai");
|
|
8
|
+
const oai_compare_result_type_enum_1 = require("../_enums/oai-compare-result-type.enum");
|
|
9
|
+
const oai_chunking_util_1 = require("../_collections/oai-chunking.util");
|
|
10
|
+
const global_settings_const_1 = require("../../../_collections/global-settings.const");
|
|
11
|
+
class DyNTS_OAI_Chunk_ServiceBase extends oai_vector_data_service_1.DyNTS_OAI_VectorDataService {
|
|
12
|
+
constructor(issuer) {
|
|
13
|
+
super(null, oai_doc_chunk_data_model_1.DyNTS_OAI_docChunk_dataParams, new open_ai_1.DyFM_OpenAI_Settings({
|
|
14
|
+
openAIConfig: {
|
|
15
|
+
apiKey: global_settings_const_1.DyNTS_global_settings.env_settings.openAi.apiKey,
|
|
16
|
+
organization: global_settings_const_1.DyNTS_global_settings.env_settings.openAi.organization,
|
|
17
|
+
project: global_settings_const_1.DyNTS_global_settings.env_settings.openAi.project,
|
|
18
|
+
},
|
|
19
|
+
defaultSettings: {
|
|
20
|
+
useModel: open_ai_1.DyFM_OpenAIModel.textEmbedding_3Large,
|
|
21
|
+
},
|
|
22
|
+
}), issuer);
|
|
23
|
+
}
|
|
24
|
+
async updatePage(pageCompareResult, issuer) {
|
|
25
|
+
try {
|
|
26
|
+
// save chunks
|
|
27
|
+
// (only new and modified pages
|
|
28
|
+
// (but all the page element should be updated
|
|
29
|
+
// (delete extra elements)))
|
|
30
|
+
if (pageCompareResult.oldChunks.length > pageCompareResult.newChunks.length) {
|
|
31
|
+
// delete extra chunks
|
|
32
|
+
for (let i = 0; i < pageCompareResult.oldChunks.length; i++) {
|
|
33
|
+
if (i < pageCompareResult.newChunks.length) {
|
|
34
|
+
pageCompareResult.newChunks[i]._id = pageCompareResult.oldChunks[i]._id;
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
await this.deleteData(pageCompareResult.oldChunks[i]._id, true).catch(error => {
|
|
38
|
+
fsm_dynamo_1.DyFM_Error.logSimple('❌ Chunk not deleted', error);
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
await fsm_dynamo_1.DyFM_Array.asyncForEachAllAtOnce(pageCompareResult.newChunks, async (chunk) => {
|
|
44
|
+
if (pageCompareResult.chunkCompareResults[chunk.chunkIndex].result !== oai_compare_result_type_enum_1.DyNTS_OAI_CompareResult_Type.equal) {
|
|
45
|
+
await this.saveData(chunk, false, true);
|
|
46
|
+
fsm_dynamo_1.DyFM_Log.info(`✅ Chunk saved: ${pageCompareResult.subjectPage.name}; ${chunk.chunkIndex}`);
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
fsm_dynamo_1.DyFM_Log.success(`✅ Chunks updated(SAVED) for page: ${pageCompareResult.subjectPage.name}`);
|
|
50
|
+
}
|
|
51
|
+
catch (error) {
|
|
52
|
+
throw new fsm_dynamo_1.DyFM_Error({
|
|
53
|
+
...this.getDefaultErrorSettings('updatePage', error),
|
|
54
|
+
errorCode: 'DCH-CSB-UP0',
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
async comparePage(page, issuer) {
|
|
59
|
+
try {
|
|
60
|
+
const oldChunks = await this.findDataList({
|
|
61
|
+
documentId: `${page.docId}`,
|
|
62
|
+
documentPageId: page._id,
|
|
63
|
+
});
|
|
64
|
+
const compareResults = await this.compareChunks(page.chunks, oldChunks);
|
|
65
|
+
/* DyFM_Log.H_info(`✅ Modified page: ${page.name}`, {
|
|
66
|
+
compareResults: compareResults,
|
|
67
|
+
equal: compareResults.every(result => result.result === DCh_CompareResult_Type.equal),
|
|
68
|
+
new: compareResults.every(result => result.result === DCh_CompareResult_Type.new),
|
|
69
|
+
modified: compareResults.some(
|
|
70
|
+
result => ![ DCh_CompareResult_Type.equal, DCh_CompareResult_Type.new ].includes(result.result)
|
|
71
|
+
),
|
|
72
|
+
}); */
|
|
73
|
+
if (compareResults.every(result => result.result === oai_compare_result_type_enum_1.DyNTS_OAI_CompareResult_Type.equal)) {
|
|
74
|
+
return {
|
|
75
|
+
result: oai_compare_result_type_enum_1.DyNTS_OAI_CompareResult_Type.equal,
|
|
76
|
+
subjectPage: page,
|
|
77
|
+
oldPageContent: page.content,
|
|
78
|
+
chunkCompareResults: compareResults,
|
|
79
|
+
newChunks: page.chunks,
|
|
80
|
+
oldChunks: oldChunks,
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
if (compareResults.every(result => result.result === oai_compare_result_type_enum_1.DyNTS_OAI_CompareResult_Type.new)) {
|
|
84
|
+
return {
|
|
85
|
+
result: oai_compare_result_type_enum_1.DyNTS_OAI_CompareResult_Type.new,
|
|
86
|
+
subjectPage: page,
|
|
87
|
+
oldPageContent: '',
|
|
88
|
+
chunkCompareResults: compareResults,
|
|
89
|
+
newChunks: page.chunks,
|
|
90
|
+
oldChunks: oldChunks,
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
return {
|
|
94
|
+
result: oai_compare_result_type_enum_1.DyNTS_OAI_CompareResult_Type.modified,
|
|
95
|
+
subjectPage: page,
|
|
96
|
+
oldPageContent: oai_chunking_util_1.DyNTS_OAI_Chunking_Util.reassembleChunksToContent(compareResults.filter(result => result.oldChunk).map(result => result.oldChunk), issuer),
|
|
97
|
+
chunkCompareResults: compareResults,
|
|
98
|
+
newChunks: page.chunks,
|
|
99
|
+
oldChunks: oldChunks,
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
catch (error) {
|
|
103
|
+
throw new fsm_dynamo_1.DyFM_Error({
|
|
104
|
+
...this.getDefaultErrorSettings('comparePage', error),
|
|
105
|
+
errorCode: 'DCH-CSB-CP0',
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
async compareChunks(chunks, oldChunks) {
|
|
110
|
+
try {
|
|
111
|
+
if (chunks.length === 0) {
|
|
112
|
+
return [];
|
|
113
|
+
}
|
|
114
|
+
oldChunks ??= await this.findDataList({
|
|
115
|
+
documentId: chunks[0].documentId,
|
|
116
|
+
documentPageId: chunks[0].documentPageId,
|
|
117
|
+
});
|
|
118
|
+
oldChunks.sort((a, b) => a.chunkIndex - b.chunkIndex);
|
|
119
|
+
return await fsm_dynamo_1.DyFM_Array.asyncForEachAllAtOnce(chunks, async (chunk) => {
|
|
120
|
+
return await this.compareChunk(chunk, oldChunks[chunk.chunkIndex]);
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
catch (error) {
|
|
124
|
+
throw new fsm_dynamo_1.DyFM_Error({
|
|
125
|
+
...this.getDefaultErrorSettings('compareChunks', error),
|
|
126
|
+
errorCode: 'DCH-CSB-CC0',
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
async compareChunk(newChunk, oldChunk) {
|
|
131
|
+
try {
|
|
132
|
+
oldChunk ??= await this.findData({
|
|
133
|
+
documentId: newChunk.documentId,
|
|
134
|
+
documentPageId: newChunk.documentPageId,
|
|
135
|
+
chunkIndex: newChunk.chunkIndex,
|
|
136
|
+
});
|
|
137
|
+
/* DyFM_Log.H_info(`✅ Comparing chunk: ${newChunk.chunkIndex}`, {
|
|
138
|
+
newChunk: newChunk,
|
|
139
|
+
oldChunk: oldChunk,
|
|
140
|
+
new: !oldChunk,
|
|
141
|
+
equal: oldChunk?.chunkParentedContent === newChunk.chunkParentedContent,
|
|
142
|
+
modified: oldChunk && oldChunk.chunkParentedContent !== newChunk.chunkParentedContent,
|
|
143
|
+
}); */
|
|
144
|
+
if (!oldChunk) {
|
|
145
|
+
return {
|
|
146
|
+
result: oai_compare_result_type_enum_1.DyNTS_OAI_CompareResult_Type.new,
|
|
147
|
+
oldChunk: null,
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
if (oldChunk.chunkParentedContent === newChunk.chunkParentedContent) {
|
|
151
|
+
return {
|
|
152
|
+
result: oai_compare_result_type_enum_1.DyNTS_OAI_CompareResult_Type.equal,
|
|
153
|
+
oldChunk: oldChunk,
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
return {
|
|
157
|
+
result: oai_compare_result_type_enum_1.DyNTS_OAI_CompareResult_Type.modified,
|
|
158
|
+
oldChunk: oldChunk,
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
catch (error) {
|
|
162
|
+
throw new fsm_dynamo_1.DyFM_Error({
|
|
163
|
+
...this.getDefaultErrorSettings('compareChunk', error),
|
|
164
|
+
errorCode: 'DCH-CSB-CC1',
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
exports.DyNTS_OAI_Chunk_ServiceBase = DyNTS_OAI_Chunk_ServiceBase;
|
|
170
|
+
//# sourceMappingURL=oai-chunk.service-base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oai-chunk.service-base.js","sourceRoot":"","sources":["../../../../src/_modules/open-ai/_services/oai-chunk.service-base.ts"],"names":[],"mappings":";;;AAAA,sDAAgG;AAChG,kFAAwG;AACxG,uEAAwE;AACxE,2DAAuF;AAEvF,yFAAsF;AAGtF,yEAA4E;AAC5E,uFAAoF;AAGpF,MAAa,2BAA4B,SAAQ,qDAA+C;IAE9F,YAAY,MAAc;QACxB,KAAK,CACH,IAAI,EACJ,wDAA6B,EAC7B,IAAI,8BAAoB,CAAC;YACvB,YAAY,EAAE;gBACZ,MAAM,EAAE,6CAAqB,CAAC,YAAY,CAAC,MAAM,CAAC,MAAM;gBACxD,YAAY,EAAE,6CAAqB,CAAC,YAAY,CAAC,MAAM,CAAC,YAAY;gBACpE,OAAO,EAAE,6CAAqB,CAAC,YAAY,CAAC,MAAM,CAAC,OAAO;aAC3D;YACD,eAAe,EAAE;gBACf,QAAQ,EAAE,0BAAgB,CAAC,oBAAoB;aAChD;SACF,CAAC,EACF,MAAM,CACP,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,UAAU,CAAC,iBAA8C,EAAE,MAAc;QAC7E,IAAI,CAAC;YACH,eAAe;YACf,gCAAgC;YAChC,iDAAiD;YACjD,gCAAgC;YAEhC,IAAI,iBAAiB,CAAC,SAAS,CAAC,MAAM,GAAG,iBAAiB,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC;gBAC5E,sBAAsB;gBACtB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,iBAAiB,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;oBAC5D,IAAI,CAAC,GAAG,iBAAiB,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC;wBAC3C,iBAAiB,CAAC,SAAS,CAAC,CAA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MAAM,IAAI,CAAC,QAAQ,CAAC;gBAC/B,UAAU,EAAE,QAAQ,CAAC,UAAU;gBAC/B,cAAc,EAAE,QAAQ,CAAC,cAAc;gBACvC,UAAU,EAAE,QAAQ,CAAC,UAAU;aAChC,CAAC,CAAC;YAEH;;;;;;kBAMM;YAEN,IAAI,CAAC,QAAQ,EAAE,CAAC;gBACd,OAAO;oBACL,MAAM,EAAE,2DAA4B,CAAC,GAAG;oBACxC,QAAQ,EAAE,IAAI;iBACf,CAAC;YACJ,CAAC;YAED,IAAI,QAAQ,CAAC,oBAAoB,KAAK,QAAQ,CAAC,oBAAoB,EAAE,CAAC;gBACpE,OAAO;oBACL,MAAM,EAAE,2DAA4B,CAAC,KAAK;oBAC1C,QAAQ,EAAE,QAAQ;iBACnB,CAAC;YACJ,CAAC;YAED,OAAO;gBACL,MAAM,EAAE,2DAA4B,CAAC,QAAQ;gBAC7C,QAAQ,EAAE,QAAQ;aACnB,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,uBAAU,CAAC;gBACnB,GAAG,IAAI,CAAC,uBAAuB,CAAC,cAAc,EAAE,KAAK,CAAC;gBACtD,SAAS,EAAE,aAAa;aACzB,CAAC,CAAC;QACL,CAAC;IACH,CAAC;CAEF;AAzMD,kEAyMC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DyFM_OpenAIModel } from '@futdevpro/fsm-dynamo/open-ai';
|
|
2
|
-
import {
|
|
3
|
-
export declare class
|
|
2
|
+
import { DyNTS_OAI_LLM_ServiceBase } from './oai-llm.service-base';
|
|
3
|
+
export declare class DyNTS_OAI_Embedding_ControlService extends DyNTS_OAI_LLM_ServiceBase {
|
|
4
4
|
createEmbedding(text: string, model: DyFM_OpenAIModel | string, issuer: string): Promise<number[]>;
|
|
5
5
|
createEmbeddings(texts: string[], model: DyFM_OpenAIModel | string, issuer: string): Promise<number[][]>;
|
|
6
6
|
}
|
|
7
|
-
//# sourceMappingURL=embedding.control-service.d.ts.map
|
|
7
|
+
//# sourceMappingURL=oai-embedding.control-service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oai-embedding.control-service.d.ts","sourceRoot":"","sources":["../../../../src/_modules/open-ai/_services/oai-embedding.control-service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAGnE,qBAAa,kCAAmC,SAAQ,yBAAyB;IAEzE,eAAe,CACnB,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,gBAAgB,GAAG,MAA8C,EACxE,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,MAAM,EAAE,CAAC;IAyBd,gBAAgB,CACpB,KAAK,EAAE,MAAM,EAAE,EACf,KAAK,EAAE,gBAAgB,GAAG,MAA8C,EACxE,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC;CAwBvB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.DyNTS_OAI_Embedding_ControlService = void 0;
|
|
4
4
|
const open_ai_1 = require("@futdevpro/fsm-dynamo/open-ai");
|
|
5
5
|
const fsm_dynamo_1 = require("@futdevpro/fsm-dynamo");
|
|
6
|
-
const
|
|
6
|
+
const oai_llm_service_base_1 = require("./oai-llm.service-base");
|
|
7
7
|
const global_settings_const_1 = require("../../../_collections/global-settings.const");
|
|
8
|
-
class
|
|
8
|
+
class DyNTS_OAI_Embedding_ControlService extends oai_llm_service_base_1.DyNTS_OAI_LLM_ServiceBase {
|
|
9
9
|
async createEmbedding(text, model = open_ai_1.DyFM_OpenAIModel.textEmbedding_3Large, issuer) {
|
|
10
10
|
try {
|
|
11
11
|
if (!text) {
|
|
@@ -49,5 +49,5 @@ class Embedding_ControlService extends open_ai_service_base_1.DyNTS_OpenAI_Servi
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
exports.
|
|
53
|
-
//# sourceMappingURL=embedding.control-service.js.map
|
|
52
|
+
exports.DyNTS_OAI_Embedding_ControlService = DyNTS_OAI_Embedding_ControlService;
|
|
53
|
+
//# sourceMappingURL=oai-embedding.control-service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oai-embedding.control-service.js","sourceRoot":"","sources":["../../../../src/_modules/open-ai/_services/oai-embedding.control-service.ts"],"names":[],"mappings":";;;AACA,2DAAiE;AACjE,sDAAmD;AAEnD,iEAAmE;AACnE,uFAAoF;AAEpF,MAAa,kCAAmC,SAAQ,gDAAyB;IAE/E,KAAK,CAAC,eAAe,CACnB,IAAY,EACZ,QAAmC,0BAAgB,CAAC,oBAAoB,EACxE,MAAc;QAEd,IAAI,CAAC;YACH,IAAI,CAAC,IAAI,EAAE,CAAC;gBACV,MAAM,IAAI,uBAAU,CAAC;oBACnB,GAAG,IAAI,CAAC,uBAAuB,CAAC,iBAAiB,EAAE,IAAI,KAAK,CAAC,kBAAkB,CAAC,EAAE,MAAM,CAAC;oBAEzF,SAAS,EAAE,GAAG,6CAAqB,CAAC,mBAAmB,gBAAgB;iBACxE,CAAC,CAAC;YACL,CAAC;YAED,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC;gBACnD,KAAK;gBACL,KAAK,EAAE,IAAI;aACZ,CAAC,CAAC;YAEH,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QACpC,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,uBAAU,CAAC;gBACnB,GAAG,IAAI,CAAC,uBAAuB,CAAC,iBAAiB,EAAE,KAAK,EAAE,MAAM,CAAC;gBAEjE,SAAS,EAAE,GAAG,6CAAqB,CAAC,mBAAmB,gBAAgB;aACxE,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAED,KAAK,CAAC,gBAAgB,CACpB,KAAe,EACf,QAAmC,0BAAgB,CAAC,oBAAoB,EACxE,MAAc;QAEd,IAAI,CAAC;YACH,IAAI,CAAC,KAAK,EAAE,CAAC;gBACX,MAAM,IAAI,uBAAU,CAAC;oBACnB,GAAG,IAAI,CAAC,uBAAuB,CAAC,kBAAkB,EAAE,IAAI,KAAK,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC;oBAE3F,SAAS,EAAE,GAAG,6CAAqB,CAAC,mBAAmB,iBAAiB;iBACzE,CAAC,CAAC;YACL,CAAC;YAED,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC;gBACnD,KAAK;gBACL,KAAK,EAAE,KAAK;aACb,CAAC,CAAC;YAEH,OAAO,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACnD,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,uBAAU,CAAC;gBACnB,GAAG,IAAI,CAAC,uBAAuB,CAAC,kBAAkB,EAAE,KAAK,EAAE,MAAM,CAAC;gBAElE,SAAS,EAAE,GAAG,6CAAqB,CAAC,mBAAmB,iBAAiB;aACzE,CAAC,CAAC;QACL,CAAC;IACH,CAAC;CACF;AA3DD,gFA2DC"}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { DyFM_GPTCall_Settings } from '@futdevpro/fsm-dynamo/open-ai';
|
|
2
|
+
import { DyNTS_OAI_GPT_Message } from '../_models/interfaces/oai-gpt-message.interface';
|
|
3
|
+
import { ChatCompletion } from 'openai/resources';
|
|
4
|
+
import { DyNTS_OAI_LLM_ServiceBase } from './oai-llm.service-base';
|
|
5
|
+
/**
|
|
6
|
+
* {
|
|
7
|
+
* organization: 'org-XY',
|
|
8
|
+
* apiKey: 'sk-XY',
|
|
9
|
+
* project: 'proj_XY',
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
export declare class DyNTS_OAI_LLMChat_ServiceBase extends DyNTS_OAI_LLM_ServiceBase {
|
|
13
|
+
/**
|
|
14
|
+
* Asks the AI to answer a yes/no question
|
|
15
|
+
*
|
|
16
|
+
* Uses the {@link DyNTS_OAI_LLM_Predefined_Requests.yesNo.request} to ask the question,
|
|
17
|
+
* and the {@link DyNTS_OAI_LLM_Predefined_Requests.yesNo.upperCaseYes} to check the answer
|
|
18
|
+
*/
|
|
19
|
+
yesNoQuestionInConversation(conversation: DyNTS_OAI_GPT_Message[], question: string, issuer: string, debugLog?: boolean, settings?: DyFM_GPTCall_Settings,
|
|
20
|
+
/** this is used to readably replace too long contents to eg '...' in logs */
|
|
21
|
+
replaceThisInLog?: string): Promise<boolean>;
|
|
22
|
+
/**
|
|
23
|
+
* Asks the AI to answer a simple question
|
|
24
|
+
*
|
|
25
|
+
* Uses the {@link DyNTS_OAI_LLM_Predefined_Requests.simpleQuestion} to ask the question
|
|
26
|
+
*/
|
|
27
|
+
simpleQuestionInConversation(conversation: DyNTS_OAI_GPT_Message[], question: string, issuer: string, settings?: DyFM_GPTCall_Settings, debugLog?: boolean,
|
|
28
|
+
/** this is used to readably replace too long contents to eg '...' in logs */
|
|
29
|
+
replaceThisInLog?: string): Promise<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Asks the AI to answer a percentage question
|
|
32
|
+
*
|
|
33
|
+
* Uses the {@link DyNTS_OAI_LLM_Predefined_Requests.percentageOnly} to ask the question
|
|
34
|
+
*/
|
|
35
|
+
percentageQuestionInConversation(conversation: DyNTS_OAI_GPT_Message[], question: string, issuer: string, settings?: DyFM_GPTCall_Settings, debugLog?: boolean,
|
|
36
|
+
/** this is used to readably replace too long contents to eg '...' in logs */
|
|
37
|
+
replaceThisInLog?: string): Promise<number>;
|
|
38
|
+
/**
|
|
39
|
+
* Asks the AI to select one of the options from the list
|
|
40
|
+
*
|
|
41
|
+
* Uses the {@link DyNTS_OAI_LLM_Predefined_Requests.selectRequest} to ask the question
|
|
42
|
+
*/
|
|
43
|
+
selectQuestionInConversation(conversation: DyNTS_OAI_GPT_Message[], question: string, selectFrom: string[], issuer: string, settings?: DyFM_GPTCall_Settings, debugLog?: boolean,
|
|
44
|
+
/** this is used to readably replace too long contents to eg '...' in logs */
|
|
45
|
+
replaceThisInLog?: string): Promise<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Asks the AI to select one of the options from the list
|
|
48
|
+
* Similar to {@link askSelectQuestion},
|
|
49
|
+
* but with a more generic approach that can be used for objects
|
|
50
|
+
*
|
|
51
|
+
* Uses the {@link DyNTS_OAI_LLM_Predefined_Requests.selectRequest} to ask the question
|
|
52
|
+
*/
|
|
53
|
+
requestSelectInConversation<T>(conversation: DyNTS_OAI_GPT_Message[], question: string, selectFrom: T[], issuer: string, settings?: DyFM_GPTCall_Settings, debugLog?: boolean,
|
|
54
|
+
/** this is used to readably replace too long contents to eg '...' in logs */
|
|
55
|
+
replaceThisInLog?: string): Promise<T | {
|
|
56
|
+
unparsableResult: string;
|
|
57
|
+
}>;
|
|
58
|
+
/**
|
|
59
|
+
* Asks the AI to select one or more of the options from the list
|
|
60
|
+
*
|
|
61
|
+
* Uses the {@link DyNTS_OAI_LLM_Predefined_Requests.multiselect} to ask the question
|
|
62
|
+
*/
|
|
63
|
+
multipleSelectQuestionWithOptionsInConversation(conversation: DyNTS_OAI_GPT_Message[], question: string, options: string[], issuer: string, settings?: DyFM_GPTCall_Settings, debugLog?: boolean,
|
|
64
|
+
/** this is used to readably replace too long contents to eg '...' in logs */
|
|
65
|
+
replaceThisInLog?: string): Promise<string[]>;
|
|
66
|
+
/**
|
|
67
|
+
* Asks the AI to select one or more of the options from the list
|
|
68
|
+
* Similar to {@link askMultipleSelectQuestionWithOptions},
|
|
69
|
+
* but with a more generic approach that can be used for objects
|
|
70
|
+
*
|
|
71
|
+
* Uses the {@link DyNTS_OAI_LLM_Predefined_Requests.multiselect} to ask the question
|
|
72
|
+
*/
|
|
73
|
+
requestMultipleSelectInConversation<T>(conversation: DyNTS_OAI_GPT_Message[], question: string, options: T[], issuer: string, settings?: DyFM_GPTCall_Settings, debugLog?: boolean,
|
|
74
|
+
/** this is used to readably replace too long contents to eg '...' in logs */
|
|
75
|
+
replaceThisInLog?: string): Promise<T[]>;
|
|
76
|
+
/**
|
|
77
|
+
* Asks the AI to answer a question that must result a JSON object
|
|
78
|
+
*
|
|
79
|
+
* If the answer is not a valid JSON object, it will return { unparsableResult: answer }
|
|
80
|
+
*
|
|
81
|
+
* Uses the {@link DyNTS_OAI_LLM_Predefined_Requests.jsonRequest} to ask the question
|
|
82
|
+
*
|
|
83
|
+
* (uses {@link DyFM_safeParseJSON})
|
|
84
|
+
*/
|
|
85
|
+
jsonQuestionInConversation<T = any>(conversation: DyNTS_OAI_GPT_Message[], question: string, issuer: string, settings?: DyFM_GPTCall_Settings, debugLog?: boolean,
|
|
86
|
+
/** this is used to readably replace too long contents to eg '...' in logs */
|
|
87
|
+
replaceThisInLog?: string): Promise<T | {
|
|
88
|
+
unparsableResult: string;
|
|
89
|
+
}>;
|
|
90
|
+
/**
|
|
91
|
+
* Asks the AI to answer a question that must result a JSON object with specific key descriptions
|
|
92
|
+
*
|
|
93
|
+
* If the answer is not a valid JSON object, it will return { unparsableResult: answer }
|
|
94
|
+
*
|
|
95
|
+
* Uses the {@link DyNTS_OAI_LLM_Predefined_Requests.jsonRequestWithKeysDescription} to ask the question
|
|
96
|
+
*
|
|
97
|
+
* (uses {@link DyFM_safeParseJSON})
|
|
98
|
+
*/
|
|
99
|
+
jsonQuestionWithKeysDescriptionInConversation<T = any>(conversation: DyNTS_OAI_GPT_Message[], question: string, keysDescription: string, issuer: string, settings?: DyFM_GPTCall_Settings, debugLog?: boolean,
|
|
100
|
+
/** this is used to readably replace too long contents to eg '...' in logs */
|
|
101
|
+
replaceThisInLog?: string): Promise<T | {
|
|
102
|
+
unparsableResult: string;
|
|
103
|
+
}>;
|
|
104
|
+
/**
|
|
105
|
+
* Asks the AI to answer a question that must result a JSON object with specific keys
|
|
106
|
+
*
|
|
107
|
+
* If the answer is not a valid JSON object, it will return { unparsableResult: answer }
|
|
108
|
+
*
|
|
109
|
+
* Uses the {@link DyNTS_OAI_LLM_Predefined_Requests.jsonRequestWithExactKeys} to ask the question
|
|
110
|
+
*
|
|
111
|
+
* (uses {@link DyFM_safeParseJSON})
|
|
112
|
+
*/
|
|
113
|
+
jsonQuestionWithExactKeysInConversation<T = any>(conversation: DyNTS_OAI_GPT_Message[], question: string, keys: string[], issuer: string, settings?: DyFM_GPTCall_Settings, debugLog?: boolean,
|
|
114
|
+
/** this is used to readably replace too long contents to eg '...' in logs */
|
|
115
|
+
replaceThisInLog?: string): Promise<T | {
|
|
116
|
+
unparsableResult: string;
|
|
117
|
+
}>;
|
|
118
|
+
/**
|
|
119
|
+
* Asks the AI to answer a question that must result a list of strings
|
|
120
|
+
*
|
|
121
|
+
* If the answer is not a valid JSON list, it will return the answer as a single item in an array
|
|
122
|
+
*
|
|
123
|
+
* Uses the {@link DyNTS_OAI_LLM_Predefined_Requests.listRequest} to ask the question
|
|
124
|
+
*
|
|
125
|
+
* (uses {@link DyFM_safeParseList})
|
|
126
|
+
*/
|
|
127
|
+
listQuestionInConversation(conversation: DyNTS_OAI_GPT_Message[], question: string, issuer: string, settings?: DyFM_GPTCall_Settings, debugLog?: boolean,
|
|
128
|
+
/** this is used to readably replace too long contents to eg '...' in logs */
|
|
129
|
+
replaceThisInLog?: string): Promise<string[]>;
|
|
130
|
+
/**
|
|
131
|
+
* Asks the AI to answer a question
|
|
132
|
+
*
|
|
133
|
+
* Uses the {@link resolveSimpleUserMessage}
|
|
134
|
+
*/
|
|
135
|
+
/**
|
|
136
|
+
* Asks the AI to answer a question using the whole conversation
|
|
137
|
+
* (If you want to use only the conversation, without adding a new message,
|
|
138
|
+
* use directly the {@link resolveConversation})
|
|
139
|
+
*
|
|
140
|
+
* Uses the {@link resolveConversation}
|
|
141
|
+
*/
|
|
142
|
+
getAnswerInConversation(conversation: DyNTS_OAI_GPT_Message[], newMessage: string, issuer: string, settings?: DyFM_GPTCall_Settings, debugLog?: boolean,
|
|
143
|
+
/** this is used to readably replace too long contents to eg '...' in logs */
|
|
144
|
+
replaceThisInLog?: string): Promise<string>;
|
|
145
|
+
getQuestionAnswerInConversation: (conversation: DyNTS_OAI_GPT_Message[], newMessage: string, issuer: string, settings?: DyFM_GPTCall_Settings, debugLog?: boolean, replaceThisInLog?: string) => Promise<string>;
|
|
146
|
+
getQuestionInConversation: (conversation: DyNTS_OAI_GPT_Message[], newMessage: string, issuer: string, settings?: DyFM_GPTCall_Settings, debugLog?: boolean, replaceThisInLog?: string) => Promise<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Resolves a conversation
|
|
149
|
+
*
|
|
150
|
+
* Uses the {@link getMessageCreateInput}
|
|
151
|
+
*/
|
|
152
|
+
resolveConversation(conversation: DyNTS_OAI_GPT_Message[], issuer: string, settings?: DyFM_GPTCall_Settings, getFullResponse?: boolean, debugLog?: boolean,
|
|
153
|
+
/** this is used to readably replace too long contents to eg '...' in logs */
|
|
154
|
+
replaceThisInLog?: string): Promise<string | ChatCompletion>;
|
|
155
|
+
resolveSimpleUserMessageInConversation: (conversation: DyNTS_OAI_GPT_Message[], issuer: string, settings?: DyFM_GPTCall_Settings, getFullResponse?: boolean, debugLog?: boolean, replaceThisInLog?: string) => Promise<string | ChatCompletion>;
|
|
156
|
+
protected shortenConversation(conversation: DyNTS_OAI_GPT_Message[], issuer: string, debugLog?: boolean): DyNTS_OAI_GPT_Message[];
|
|
157
|
+
protected logConversation(conversation: DyNTS_OAI_GPT_Message[], debugLog?: boolean,
|
|
158
|
+
/** this is used to readably replace too long contents to eg '...' in logs */
|
|
159
|
+
replaceThisInLog?: string): void;
|
|
160
|
+
}
|
|
161
|
+
//# sourceMappingURL=oai-llm-chat.service-base.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oai-llm-chat.service-base.d.ts","sourceRoot":"","sources":["../../../../src/_modules/open-ai/_services/oai-llm-chat.service-base.ts"],"names":[],"mappings":"AAEA,OAAO,EAA0C,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAI9G,OAAO,EAAE,qBAAqB,EAAE,MAAM,iDAAiD,CAAC;AACxF,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAIlD,OAAO,EAA0C,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAI3G;;;;;;GAMG;AAIH,qBAAa,6BAA8B,SAAQ,yBAAyB;IAE1E;;;;;OAKG;IACG,2BAA2B,CAC/B,YAAY,EAAE,qBAAqB,EAAE,EACrC,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,EACd,QAAQ,CAAC,EAAE,OAAO,EAClB,QAAQ,CAAC,EAAE,qBAAqB;IAChC,6EAA6E;IAC7E,gBAAgB,CAAC,EAAE,MAAM,GACxB,OAAO,CAAC,OAAO,CAAC;IAiBnB;;;;OAIG;IACG,4BAA4B,CAChC,YAAY,EAAE,qBAAqB,EAAE,EACrC,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,EACd,QAAQ,CAAC,EAAE,qBAAqB,EAChC,QAAQ,CAAC,EAAE,OAAO;IAClB,6EAA6E;IAC7E,gBAAgB,CAAC,EAAE,MAAM,GACxB,OAAO,CAAC,MAAM,CAAC;IAalB;;;;OAIG;IACG,gCAAgC,CACpC,YAAY,EAAE,qBAAqB,EAAE,EACrC,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,EACd,QAAQ,CAAC,EAAE,qBAAqB,EAChC,QAAQ,CAAC,EAAE,OAAO;IAClB,6EAA6E;IAC7E,gBAAgB,CAAC,EAAE,MAAM,GACxB,OAAO,CAAC,MAAM,CAAC;IA2BlB;;;;OAIG;IACG,4BAA4B,CAChC,YAAY,EAAE,q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