Services should implement interfaces

Created on 18 March 2024, 9 months ago
Updated 3 April 2024, 9 months ago

Problem/Motivation

Using a custom module, I am trying to integrate the Google Gemini model with the OpenAi project. I can do this by overriding some of the services in OpenAi. The services should implement interfaces so inheritance is not required.

Using interfaces is best practice.

Steps to reproduce

Proposed resolution

Create OpenAIApiInterface. Update OpenAIApi to implement OpenAIApiInterface.
Create OpenAiClientFactoryInterface. Update ClientFactory to implement OpenAiClientFactoryInterface.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bluegeek9

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024