Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.embabel.example</groupId>
<artifactId>example-agent-parent</artifactId>
<version>0.1.2-SNAPSHOT</version>
<version>0.1.3-SNAPSHOT</version>
</parent>
<artifactId>examples-common</artifactId>
<name>Embabel Example Agent Common</name>
Expand Down
2 changes: 1 addition & 1 deletion examples-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.embabel.example</groupId>
<artifactId>example-agent-parent</artifactId>
<version>0.1.2-SNAPSHOT</version>
<version>0.1.3-SNAPSHOT</version>
</parent>
<groupId>com.embabel.example.java</groupId>
<artifactId>example-agent-java</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples-kotlin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.embabel.example</groupId>
<artifactId>example-agent-parent</artifactId>
<version>0.1.2-SNAPSHOT</version>
<version>0.1.3-SNAPSHOT</version>
</parent>
<artifactId>example-agent-kotlin</artifactId>
<name>Embabel Agent Kotlin Examples</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,24 +49,26 @@ data class Critique(


@ConfigurationProperties(prefix = "embabel.examples.researcher")
data class ResearcherProperties(
class ResearcherProperties(
val responseFormat: ResponseFormat = ResponseFormat.MARKDOWN,
val maxWordCount: Int = 300,
val claudeModelName: String = AnthropicModels.CLAUDE_35_HAIKU,
val openAiModelName: String = OpenAiModels.GPT_41_MINI,
val criticModeName: String = OpenAiModels.GPT_41,
val mergeModelName: String = OpenAiModels.GPT_41_MINI,
override val name: String = "Sherlock",
override val persona: String = "A resourceful researcher agent that can perform deep web research on a topic. Nothing escapes Sherlock",
override val voice: String = "Your voice is dry and in the style of Sherlock Holmes. Occasionally you address the user as Watson",
override val objective: String = "To clarify all points the user has brought up",
) : Persona, PromptContributorConsumer {
personaName: String = "Sherlock",
personaDescription: String = "A resourceful researcher agent that can perform deep web research on a topic. Nothing escapes Sherlock",
personaVoice: String = "Your voice is dry and in the style of Sherlock Holmes. Occasionally you address the user as Watson",
personaObjective: String = "To clarify all points the user has brought up",
) : PromptContributorConsumer {
// Create a Persona instance rather than extending it
val persona = Persona(personaName, personaDescription, personaVoice, personaObjective)

override val promptContributors: List<PromptContributor>
get() = listOf(
responseFormat,
this,
persona,
)

}

enum class Category {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.embabel.agent</groupId>
<artifactId>embabel-agent-parent</artifactId>
<version>0.1.2-SNAPSHOT</version>
<version>0.1.3-SNAPSHOT</version>
</parent>
<groupId>com.embabel.example</groupId>
<artifactId>example-agent-parent</artifactId>
Expand Down