Describe the issue/error/question
What is the error message (if any)?
Please share the workflow
The Chat GPT API node is not capturing the expression, it sends the actual JSON expression to the API end point
Share the output returned by the last node
The expression should be evaluated and the value should be passed to the API at runtime.
Information on your n8n setup
**n8n version: latest
Database you’re using (default: SQLite): Postgres
Running n8n with the execution process [own(default), main]:own
Running n8n via [Docker, npm, n8n.cloud, desktop app]:Docker
2 Likes
Jon
March 3, 2023, 8:04am
2
Hey @satya_suman ,
Welcome to the community
Thanks for this, just going to look into it now.
1 Like
Jon
March 3, 2023, 9:28am
3
Ah I found the problem, It was something I introduced. This is only an issue with the new Chat Completion option.
1 Like
Jon
March 3, 2023, 1:22pm
4
Hey @satya_suman ,
I have just put in a PR to fix this which can be found below.
n8n-io:master
← n8n-io:NODE-351
opened 01:19PM - 03 Mar 23 UTC
Github issue / Community forum post (link here to close automatically): https://… community.n8n.io/t/the-chat-gpt-api-node-does-not-capture-expressions-in-the-new-release/23692
3 Likes
jan
March 10, 2023, 1:14pm
5
Fix got released with new version [email protected]
got released which includes the GitHub PR 5609 .
2 Likes
Zaphod
March 18, 2023, 2:46pm
6
Great, I had the same issue. So glad this thread already existed!
I switched my instance to the current beta (0.219.1) and can confirm that it works now!
Thanks, @Jon and @jan !
1 Like
system
Closed
June 16, 2023, 2:46pm
7
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.