Skip to content

Commit

Permalink
add opportunityUrl to embedding metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
ff137 committed Nov 15, 2023
1 parent 79dc4b0 commit bc123ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/xyz/didx/ai/embedding/EmbeddingHandler.scala
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ object EmbeddingHandler {
.add("id", opportunity.id)
.add("title", opportunity.title)
.add("organisationName", opportunity.organisationName)
.add("opportunityURL", opportunity.opportunityURL)

val opportunityEmbeddingInput: String =
removeSpecialCharacters(s"""${opportunity.title} ${opportunity.description}""")
Expand Down

0 comments on commit bc123ee

Please sign in to comment.