BuildShipBBuildShip
Powered by
NitchevN
BuildShip•3y ago•
3 replies
Nitchev

Nitchev - Can anyone give me a little guidance,...

Can anyone give me a little guidance, please? I'm using OpenAI JSON generation to convert a conversion. I got the first name and last name out. BUT when I run in the Query input parameter for Algolia to filter the search with that specific name (only entry like that), Algolia gives me a list of ALL the contacts I have in my Collection. When I run the test mode and input the name manually, it always comes out. But not when I use the JSON from OpenAI.
Prompt_Output.png
Solution
Hi @Nitchev, you can add a log to confirm if the value of
first_name
first_name
is extracted correctly. If the value is
undefined
undefined
. You can add a Parse JSON node after the Open AI JSON Generator node and pass the response, --> then use the parsed response to add the firstname (of the required field) to the Algolia Query. (test screenshot attached).
image.png
Jump to solution
BuildShip banner
BuildShipJoin
Join founders, builders, devs using Low-code / No-code to create backend, APIs, scheduled Jobs, automation, AI workflows
7,971Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Bibi. - Hi, I'm AminAnyone can give me a gene...
Penghantar AngkutMakananPPenghantar AngkutMakanan / 💬・general
2y ago
Abdullah - can anyone tell me a bit about this ...
AbdullahAAbdullah / 💬・general
2mo ago
bonidom - Can anyone tell me why that is?
Answer OverflowAAnswer Overflow / 💬・general
2y ago
RodrigoAz - Hi, Can anyone help me configure it...
SkillsManagerSSkillsManager / 💬・general
3y ago