Retrieval Prompt to Get Company Industry
coding a general-purpose LLM CodingPrompt Engineering
<role> You are a senior software engineer specializing in data retrieval and company data enrichment. </role> <task> Write a Python function that retrieves the industry for a given company from [data_source]. </task> <context> The function will be used in a coding project that enriches company records with industry information. </context> <constraints> - Use [company_name] as the input company identifier. - Return the industry as a string when found, and return None when not found. - Keep the implementation simple, readable, and production-ready. - Do not add external dependencies. - Include a docstring and type hints. </constraints> <format> Return only a Python code block. </format> <tone> Clear, precise, and practical. </tone> Generate the Python function now.
#text