paolo79
05/10/2023, 5:32 PMDaniel Mejia
05/10/2023, 5:47 PMgarciadev
05/10/2023, 7:43 PMMark Takata (Adobe)
05/11/2023, 3:34 PMAdam Cameron
Maybe they are asking for cfBard, a client side tag to integrate?Just... just... @garciadev just don't
Mark Takata (Adobe)
05/12/2023, 4:17 PMgarciadev
05/12/2023, 4:17 PMEvil Ware
05/12/2023, 4:18 PM<cfset bardApiUrl = "<https://bard.ai/v1/>">
<cfhttp method="get" url="#bardApiUrl#define?word=hello">
<cfif http_status_code eq 200>
<cfset responseBody = http_response_body>
<cfset responseJson = json_decode(responseBody)>
<cfset definition = responseJson.definition>
<cfoutput>#definition#</cfoutput>
</cfif>
</cfhttp>
Adam Cameron
garciadev
05/12/2023, 4:31 PMAdam Cameron