jtlicardo / bpmn-assistant

LLM-powered assistant for creating, editing, and interpreting business process diagrams
MIT License
7 stars 2 forks source link

OPENAI API Key Issue #12

Open tilmanotto opened 4 weeks ago

tilmanotto commented 4 weeks ago

Unfortunately a Project API key or User API key from OpenAI raises the error: You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}} bpmn_assistant-1 | INFO: 172.20.0.1:36618 - "POST /determine_intent HTTP/1.1" 500 Internal Server Error

But it works with python sample app provided by OpenAI.

alibama commented 4 weeks ago

are you sure it's formatted properly in your .env file?

OPENAI_API_KEY='key-goes-here'

make sure you have the single quotes in place?