Create an OpenAI inference component based on the ETH Price Oracle (components/eth-price-oracle). The component should:
- Accept input in the format 'PROMPT|OPENAI_API_KEY|SEED' from a Makefile parameter
- Use
fetch_jsonandhttp_request_post_jsonfor API communication - Return and log only
choices[0].message.contentandchoices[0].finish_reason - Include proper input validation and SEED should be an integer
- Use the main makefile, do not create a separate one.
Important Implementation Details: