Package com.embabel.agent.api.reference
Object LlmReferenceProviders
-
- All Implemented Interfaces:
public class LlmReferenceProvidersParse LlmReferenceProviders from YML files
-
-
Field Summary
Fields Modifier and Type Field Description public final static LlmReferenceProvidersINSTANCE
-
Method Summary
Modifier and Type Method Description final static List<LlmReference>fromYmlFile(String resource, ResourceLoader resourceLoader)Parse a YML file at the given resource location into a list of LlmReference final static List<LlmReference>fromYmlFile(String resource)Parse a YML file at the given resource location into a list of LlmReference -
-
Method Detail
-
fromYmlFile
@JvmOverloads() final static List<LlmReference> fromYmlFile(String resource, ResourceLoader resourceLoader)
Parse a YML file at the given resource location into a list of LlmReference
- Parameters:
resource- Spring resource location of the YML file (supports classpath:, file:, etc.resourceLoader- Spring ResourceLoader to use for loading the resource
-
fromYmlFile
@JvmOverloads() final static List<LlmReference> fromYmlFile(String resource)
Parse a YML file at the given resource location into a list of LlmReference
- Parameters:
resource- Spring resource location of the YML file (supports classpath:, file:, etc.
-
-
-
-