Class GPTBackendsConfigurationServiceImpl
- java.lang.Object
 - 
- com.composum.ai.backend.base.service.chat.impl.GPTBackendsConfigurationServiceImpl
 
 
- 
- All Implemented Interfaces:
 GPTBackendsConfigurationService
public class GPTBackendsConfigurationServiceImpl extends Object implements GPTBackendsConfigurationService
Provides the backend configurations from OSGI. 
- 
- 
Constructor Summary
Constructors Constructor Description GPTBackendsConfigurationServiceImpl() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidactivate(GPTBackendConfiguration configuration)protected voiddeactivate()List<GPTBackendConfiguration>getBackends()List<String>getModelsForBackend(String backendId) 
 - 
 
- 
- 
Method Detail
- 
activate
protected void activate(GPTBackendConfiguration configuration)
 
- 
deactivate
protected void deactivate()
 
- 
getBackends
@Nonnull public List<GPTBackendConfiguration> getBackends()
- Specified by:
 getBackendsin interfaceGPTBackendsConfigurationService
 
- 
getModelsForBackend
@Nonnull public List<String> getModelsForBackend(@Nonnull String backendId)
- Specified by:
 getModelsForBackendin interfaceGPTBackendsConfigurationService
 
 - 
 
 -