devondragon / devondragon/SpringAIClient

Implement AbstractAIService with shared functionality

Open
#18 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1
Forks
1
Avg merge
1h 2m
Merged PRs (30d)
3

Description

Description

Currently, the AbstractAIService is almost empty. This issue proposes implementing common functionality that would be shared across different AI providers.

Proposed Changes

  • Add common request/response handling
  • Implement shared error handling patterns
  • Add common validation logic
  • Create utility methods for all AI service implementations

Benefits

  • Reduces code duplication
  • Creates a more consistent experience across different AI providers
  • Makes it easier to add new AI service implementations

Acceptance Criteria

  • AbstractAIService contains meaningful shared functionality
  • OpenAIService properly extends and uses AbstractAIService
  • Documentation updated to explain the architecture

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting AbstractAIService and OpenAIService to understand their current responsibilities and extension relationship. Review the existing project documentation and provider behavior before defining the shared architecture. Done means the abstract service has agreed-upon common functionality, OpenAIService uses it correctly, and the architecture documentation is updated.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
api, backend, backend-api-design
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.