When using the SKBuilders class I find myself getting confused with "what is a service and what is not?". Basically, the chatCompletion method returns a ChatCompletion and the method is called chatCompletion. But, the textCompletionService method returns a TextCompletion but is suffixed with Service:
public class SKBuilders {
public static TextCompletion.Builder textCompletionService()
public static ChatCompletion.Builder chatCompletion()
public static EmbeddingGeneration.Builder<String> textEmbeddingGenerationService()
}
Shouldn't Service be abandoned and just have:
public class SKBuilders {
public static TextCompletion.Builder textCompletion()
public static ChatCompletion.Builder chatCompletion()
public static EmbeddingGeneration.Builder<String> textEmbeddingGeneration()
}
PS: somehow related to #2437
When using the
SKBuildersclass I find myself getting confused with "what is a service and what is not?". Basically, thechatCompletionmethod returns aChatCompletionand the method is calledchatCompletion. But, thetextCompletionServicemethod returns aTextCompletionbut is suffixed withService:Shouldn't
Servicebe abandoned and just have:PS: somehow related to #2437