You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The custom properties defined in the Spring Boot starter are missing metadata, which means IDEs will not be able to validate the properties nor help developers with autocomplete.
To Reproduce
Create a new Spring Boot project and add the LangChain4J starter
Configure a model via configuration properties in an application.yml or application.properties file
The IDE (e.g. Visual Studio Code or IntelliJ IDEA) will highlight the LangChain4J properties as invalid
Expected behavior
Custom properties come with metadata that IDEs can use to validate properties, provide autocomplete, and show contextual information.
Please complete the following information:
LangChain4j version: e.g. 0.23.0
Java version: e.g. 21
Spring Boot version (if applicable): e.g. 3.1.5
Additional context
The issue can be fixed by including the Spring Boot Configuration Processor in the starter module.
The text was updated successfully, but these errors were encountered:
Add the Spring Boot Configuration Processor dependency to the Spring
Boot starter to generate metadata
about the LangChain4J custom properties.
Fixesgh-250
bvanloocke
pushed a commit
to bvanloocke/langchain4j
that referenced
this issue
Oct 28, 2023
Add the Spring Boot Configuration Processor dependency to the Spring
Boot starter to generate metadata
about the LangChain4J custom properties.
Fixeslangchain4jgh-250
bvanloocke
pushed a commit
to bvanloocke/langchain4j
that referenced
this issue
Nov 15, 2023
Add the Spring Boot Configuration Processor dependency to the Spring
Boot starter to generate metadata
about the LangChain4J custom properties.
Fixeslangchain4jgh-250
Describe the bug
The custom properties defined in the Spring Boot starter are missing metadata, which means IDEs will not be able to validate the properties nor help developers with autocomplete.
To Reproduce
application.yml
orapplication.properties
fileExpected behavior
Custom properties come with metadata that IDEs can use to validate properties, provide autocomplete, and show contextual information.
Please complete the following information:
Additional context
The issue can be fixed by including the Spring Boot Configuration Processor in the starter module.
The text was updated successfully, but these errors were encountered: