-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
228 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
270 changes: 137 additions & 133 deletions
270
.../petstoreassistant/src/main/java/com/chtrembl/petstoreassistant/PetStoreAssistantBot.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
petstore/petstoreassistant/src/main/java/com/chtrembl/petstoreassistant/model/Prompt.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
package com.chtrembl.petstoreassistant.model; | ||
|
||
import java.io.Serializable; | ||
|
||
import com.chtrembl.petstoreassistant.service.AzureAIServices.Classification; | ||
|
||
public class Prompt implements Serializable{ | ||
private Classification classification = null; | ||
private String question = null; | ||
private String answer = null; | ||
|
||
public Prompt() { | ||
super(); | ||
} | ||
public Prompt(Classification classification, String question, String answer) { | ||
super(); | ||
this.classification = classification; | ||
this.question = question; | ||
this.answer = answer; | ||
} | ||
public Classification getClassification() { | ||
return classification; | ||
} | ||
public void setClassification(Classification classification) { | ||
this.classification = classification; | ||
} | ||
public String getQuestion() { | ||
return question; | ||
} | ||
public void setQuestion(String question) { | ||
this.question = question; | ||
} | ||
public String getAnswer() { | ||
return answer; | ||
} | ||
public void setAnswer(String answer) { | ||
this.answer = answer; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters