Skip to content

Commit

Permalink
Update actuator settings
Browse files Browse the repository at this point in the history
Update actuator settings
  • Loading branch information
dingmeng-xue authored Aug 11, 2023
2 parents 726c801 + 61497fc commit b34c8e4
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 3 deletions.
15 changes: 13 additions & 2 deletions ai/acme-assist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-ai-openai</artifactId>
Expand Down Expand Up @@ -58,10 +62,17 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<id>build-info</id>
<goals>
<goal>build-info</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<repositories>
<repository>
<id>spring-milestones</id>
Expand All @@ -80,5 +91,5 @@
</releases>
</repository>
</repositories>

</project>
1 change: 0 additions & 1 deletion ai/acme-assist/src/main/resources/application.properties

This file was deleted.

10 changes: 10 additions & 0 deletions ai/acme-assist/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
spring:
ai:
azure:
openai:
model: gpt-35-turbo-16k
management:
endpoints:
web:
exposure:
include: info,health
2 changes: 2 additions & 0 deletions ai/data/faq.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ If you are new to e-bikes, and you are looking for one that suits your daily com

City commuting requires a comfortable and reliable e-bike. Let's explore some options together. Can you provide any additional preferences, such as desired speed or range, to help narrow down the choices? For example, common speeds for e-bikes used in the city range from 15 to 20 mph, which allows for efficient navigation through urban traffic. As for distance, a typical battery range for city e-bikes can vary from 30 to 60 miles on a single charge, depending on factors such as terrain and riding style. Keep in mind that these are general figures, and we can further refine your preferences based on your specific needs.

At ACME Fitness, we are dedicated to providing top-quality products that enhance your biking experience and prioritize your safety. While there is an array of accessories available for bikes, we are pleased to inform you that we specialize in offering trunkbag, bikelight, pump, helmet, and bottle.

Q1: How long will it take to get the bike delivered to me? A7: We offer two shipping options: 1. Free standard: With our standard shipping option, you can expect your products to arrive within 3-7 business days. 2. Premium: If you prefer priority handling and express delivery, our premium shipping option ensures delivery within 1-3 business days. Feeling reassured by the estimated delivery time, Alex completes the remaining form fields, including his credit card information. With the order finalized, Alex is excitedly looking forward to receiving his new e-bike and accessories. He's grateful for the helpful guidance provided by FitAssist throughout the entire shopping experience.

Q2: How will you ship my bike? A7: Great question! We offer two shipping options: Free Shipping: Get your Model A e-bike and Rear Rack delivered to your doorstep at no additional cost with our standard shipping option. Estimated delivery time is 3-7 business days. Premium Shipping: If you prefer priority handling and express delivery, you can choose our premium shipping option. Your e-bike and accessories will arrive within 1-3 business days. Please let me know which option you'd like, or if you have any other questions. I'm here to assist you throughout the process.
Expand Down

0 comments on commit b34c8e4

Please sign in to comment.