Skip to content

Commit

Permalink
get opportunityUrl from embedding result
Browse files Browse the repository at this point in the history
  • Loading branch information
ff137 committed Nov 15, 2023
1 parent bc123ee commit 9dd11fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xyz/didx/ai/AiHandler.scala
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ object AiHandler {
val id: String = topMatch.metadata("id")
val title: String = topMatch.metadata("title")
val organisation: String = topMatch.metadata("organisationName")
val url: String = s"https://app.yoma.world/opportunities/$id"
val url: String = topMatch.metadata("opportunityUrl")

val response: String =
s"You might be interested in: $title, by $organisation. Here's a link to the opportunity page: $url"
Expand Down

0 comments on commit 9dd11fa

Please sign in to comment.