Skip to main content
Solved

Trying to Get AI Prompt Flow to work with LucidChart

  • March 15, 2024
  • 1 reply
  • 119 views

Forum|alt.badge.img

Need help connecting AI Prompt for LucidChard to connect to my ChatGPT endpoing. Keep getting this error: Failed to get response from custom endpoint

Seems like I’ve tried every possible combination of “model”, “endpoint URL” etc.

 

Best answer by Ambar D

Hi @JerryS

Thanks for your post! I sincerely apologize for the delayed response. Our AI Prompt Flow integration will return this error message if the API key or endpoint URL are invalid. I suggest double-checking these two values:

  • API Key: try generating a new API key for your AI Prompt Flow configuration.
  • Endpoint URL: The AI Prompt Flow currently works with any model that supports chat_completion APIs from OpenAI or Azure. The endpoint URL in our documentation will work: https://api.openai.com/v1/chat/completions. Your screenshot truncates your endpoint URL, though I suspect that you may be using a valid chat_completions endpoint.

Please let me know if you're still having issues after trying these steps and we would be happy to further assist.

Comments

Ambar D
Forum|alt.badge.img+10
  • Lucid community team
  • 1163 replies
  • Answer
  • November 4, 2024

Hi @JerryS

Thanks for your post! I sincerely apologize for the delayed response. Our AI Prompt Flow integration will return this error message if the API key or endpoint URL are invalid. I suggest double-checking these two values:

  • API Key: try generating a new API key for your AI Prompt Flow configuration.
  • Endpoint URL: The AI Prompt Flow currently works with any model that supports chat_completion APIs from OpenAI or Azure. The endpoint URL in our documentation will work: https://api.openai.com/v1/chat/completions. Your screenshot truncates your endpoint URL, though I suspect that you may be using a valid chat_completions endpoint.

Please let me know if you're still having issues after trying these steps and we would be happy to further assist.