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

Generate short description using GPT Api #233

Open
4 tasks
nomadbitcoin opened this issue Aug 21, 2024 · 0 comments
Open
4 tasks

Generate short description using GPT Api #233

nomadbitcoin opened this issue Aug 21, 2024 · 0 comments

Comments

@nomadbitcoin
Copy link
Contributor

Enhance the fetchAndStoreIssues function by integrating the GPT API to automatically generate short descriptions for tasks. The function should:

  1. API Integration:

    • During the execution of fetchAndStoreIssues, call the OpenAI endpoint.
    • Pass the task description along with a prompt to generate a concise "short description" that captures essential details in a single phrase.
  2. Database Update:

    • Store the generated short description in the "task" collection.
    • Ensure the seed-data.json is updated to reflect this new data structure.
  3. Testing:

    • Test the implementation using the emulator.
    • Verify that short descriptions are accurately generated and stored in the "task" collection.

Acceptance Criteria:

  • The fetchAndStoreIssues function successfully integrates with the GPT API.
  • Short descriptions are generated and stored in the "task" collection without losing key information.
  • seed-data.json is updated accordingly.
  • All functionalities are tested and verified in the emulator.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant