Skip to content

Commit

Permalink
- Add Missing Class
Browse files Browse the repository at this point in the history
  • Loading branch information
humcqc committed Jun 30, 2024
1 parent 93ec2cf commit 85a650c
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package org.acme.example.openai.chat.ollama;

import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.UserMessage;
import io.quarkiverse.langchain4j.RegisterAiService;

@RegisterAiService(tools = Tools.ExpenseService.class)
public interface PropertyManagerAssistant {
@SystemMessage("""
You are a property manager assistant, answering to co-owners requests.
Format the date as YYYY-MM-DD and the time as HH:MM
Today is {{current_date_time}} use this date as date time reference
The co-owners is living in the following condominium: {condominium}
""")
@UserMessage("""
{{request}}
""")
String answer(String condominium, String request);
}

0 comments on commit 85a650c

Please sign in to comment.