Package com.intellijava.core.wrappers
Interface LanguageModelInterface
- All Known Implementing Classes:
CohereAIWrapper
,OpenAIWrapper
public interface LanguageModelInterface
ImageModelInterface represent the standard methods for any model that generate text.
- Author:
- github.com/Barqawiz
-
Method Summary
Modifier and TypeMethodDescriptiongenerateText
(Map<String, Object> params) Generate text from remote large language model based on the received prompt.
-
Method Details
-
generateText
Generate text from remote large language model based on the received prompt.- Parameters:
params
- key and value for the API parameters.- Returns:
- BaseRemoteModel or any sub class.
- Throws:
IOException
- if there is an error when connecting to the server.
-