Skip to content

Commit

Permalink
chore: add test endpoint for related-prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
victorcg88 committed Nov 26, 2024
1 parent db492fc commit d4242f7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/adapter/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import {
recommendationsRequestSchema,
resultSchema,
semanticQueriesRequestSchema,
experienceControlsResponseSchema
experienceControlsResponseSchema,
relatedPromptsEndpointAdapter
} from '@empathyco/x-adapter-platform';
import {
ExperienceControlsResponse,
Expand Down Expand Up @@ -73,3 +74,7 @@ experienceControlsResponseSchema.$override<
}
}
});

adapter.relatedPrompts = relatedPromptsEndpointAdapter.extends({
endpoint: 'https://api.staging.empathy.co/relatedprompts/fmj'
});

0 comments on commit d4242f7

Please sign in to comment.