-
Notifications
You must be signed in to change notification settings - Fork 7
Java App - First Commit #97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
jimbobbennett
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Started a review - but the app doesn't run for me so can't finish.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you:
- Move this to a sub folder under Java based on what this demo focuses on. I'm thinking something like
java/chatbot/eu-ai-chatbot - Add a relevant link to the top level REDME.md
|
|
||
| ### 1. Backend Setup | ||
|
|
||
| 1. Configure AI provider credentials in `src/main/resources/application.properties`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a dummy version of this file?
| 2. Build and run the backend: | ||
| ```bash | ||
| mvn clean install | ||
| mvn spring-boot:run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get this error when I run:
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2025-11-25T13:54:22.123-08:00 ERROR 61685 --- [ restartedMain] o.s.boot.SpringApplication : Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'documentInitializer': Unsatisfied dependency expressed through field 'documentService': Error creating bean with name 'documentService': Unsatisfied dependency expressed through field 'vectorStoreService': Error creating bean with name 'vectorStoreService': Unsatisfied dependency expressed through field 'embeddingService': Error creating bean with name 'embeddingService' defined in file [/Users/jimbobbennett/github/sdk-examples/java/target/classes/com/chatbot/service/EmbeddingService.class]: Unexpected exception during bean creation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not seeing this referenced in the README. Is this needed?
New SDK Example
Before submitting
.env.examplefilePR checklist
Description
Brief description of what this example demonstrates.
Type of example
Language
Key features
Testing
Screenshots/Demo
(If applicable)