Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] Added text to beckn request translatiion function #33

Merged
merged 5 commits into from
Mar 27, 2024

Conversation

mayurvir
Copy link
Contributor

Description

This PR adds a function to translate a text based query, plus additional context to beckn based payload on latest version 1.1.0. It also adds a function to call an api.

Features covered

Changes made

  • Added openai context to a config file openai.json
  • Added the core schema and compressed schema for search, select, init and confirm
  • Added required functions to AI.js service
  • Added call_api function to Actions.js service
  • Added test cases

Screenshots/recordings

NA

Testing

Just run the test cases and review the code.

Self checks

  • Code follows coding style guidelines.
  • All tests pass successfully.
  • No new linting errors or warnings.
  • Documentation is updated, if necessary.
  • Dependencies are updated, if required.
  • There are no merge conflicts.

Reviewer Suggestions

None

@mayurvir mayurvir self-assigned this Mar 27, 2024
@mayurvir mayurvir requested review from shreyvishal and em-abee March 27, 2024 10:43
@mayurvir mayurvir added the enhancement New feature or request label Mar 27, 2024
@mayurvir mayurvir merged commit 32cbb07 into main Mar 27, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants