-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved AI Actions: Default OpenAI Key & Tracing (#564)
* update core packadge * refactor update tags action * extract ai action to its own function * refactor findAppoitnmentByPrompt * add type * refactor final actions * chor(dependencies): ugrade langchain and langsmith * feat(shelly): langsmith config (metadata and runname) added as an example for one ai action * feat(ai-actions): extracting LLM models to separate lib; apply to categorizeMessage * chore(shelly): refactor categorizeMessage to serve as an example for other ai actions * chore(shelly): go back to skipping tests with real OpenAI calls * chore(shelly): refactor generateMessage * chore(shelly): go back to skipping real openAI tests * chore(shelly): refactor summarizeCareFlow * chore(shelly): refactor summarizeForm ai actions * chore(shelly): remove unnecessary setups form validatePayload * feat(shelly): OpenAI key optional, experimental->beta for consistency * chore(elation): refactor UpdatePatient to match other ai actions * chor(elation): refactor findFutureAppointment * chore(elation): refactor findAppointmentsByPrompt * remove console logs * feat(elation): remove openAIAPI key from settings * fix(shelly): fix test * fix(shelly): skip real world test * fix(llm): deal with no OpenAI api key in settings * chore: upgrade extension-core * feat(lib): add tenant_id for tracing,accept more flexible payload * chore(ai-actions): remove try-catch error wrappers * chore(tests): add tenant_id to pathway * fix(tests): remove OpenAI dependency * feat(langsmith): add callback to make it easy to hide input/output data when tracing (call will still be registered, only data will not be stored) * feat(shelly): remove settings (OpenAI Key) * feat(dependencies): upgrade extensions-core to use org stycth information in Pathway * feat(langsmith): preserve token usage data when masking to make sure we can still track usage and $ * chor(shelly): go back to skipping real world tests * fix(tests): add missing params to Pathway * chor(ai-actions): minor refactoring --------- Co-authored-by: belmai <[email protected]>
- Loading branch information
1 parent
08eb36f
commit 4d9f579
Showing
92 changed files
with
3,189 additions
and
1,656 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
Binary file removed
BIN
-456 KB
.yarn/cache/@awell-health-extensions-core-npm-1.0.11-992538064c-6c6821d6ce.zip
Binary file not shown.
Binary file added
BIN
+168 KB
.yarn/cache/@awell-health-extensions-core-npm-1.0.16-a3dc33c4e1-1910b7bff2.zip
Binary file not shown.
Binary file added
BIN
+46.9 KB
.yarn/cache/@cfworker-json-schema-npm-4.1.0-1cac3ad966-12ee4dd6ef.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+22.4 KB
.yarn/cache/console-table-printer-npm-2.12.1-a4f4d866aa-37ac91d360.zip
Binary file not shown.
Binary file renamed
BIN
+1.07 MB
...chain-npm-0.3.2-e30f659f16-e7f2105fc9.zip → ...hain-npm-0.3.12-114ea77c3f-d56af985b4.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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
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.