The error you're encountering suggests there might be an issue with your OpenAI API key or model access. To resolve this: 1. Double-check your API key: Ensure you're using the correct and up-to-date API key from your OpenAI account.
2. Verify model access: Make sure you have access to the GPT-4 model. Check your API usage tier at https://platform.openai.com/settings/organization/limits.
3. Confirm model name: The model name "gpt-4o" seems incorrect. Use the correct model name, such as "gpt-4".
4. Check Clay settings: In Clay, go to Model > Account > Add Account to ensure your API key is correctly added.If issues persist, consider using Clay's managed account option, available through Model > Account in the enrichment panel.
Source:Use AI integration overview | Documentation | Clay University