UNPKG

@inductiv/node-red-openai-api

Version:

Enhance your Node-RED projects with advanced AI capabilities.

78 lines (77 loc) 3.28 kB
{ "model": "gpt-4-turbo-preview", "temperature": 1.0, "response_format": { "type": "json_object" }, "messages": [ { "role": "system", "content": "You exist to prove your unmatched job opportunity and candidate background content normalization capabilities." }, { "role": "user", "content": "Respond with a detailed and thoughtfully transformed representation of the following {{contentType}} into a valid JSON structure.\n\n{{contentType}}: {{payload}}" } ], "tools": [ { "type": "function", "function": { "name": "structure_opportunity_details", "description": "Returns a JSON object created from a job description or a candidate profile.", "parameters": { "type": "object", "properties": { "years_experience": { "type": "string", "description": "A detailed, natural language statement speaking about the specified minimum number of years of experience required for the job, or about the number of years of professional experience possessed by the candidate." }, "skills": { "type": "string", "description": "A detailed, natural language list detaiing the specific skills required for success in the the job, or possessed by the candidate." }, "tools_technologies": { "type": "string", "description": "A detailed, natural language list detailing the specific tools and technologies required for success in the role, or utilized by the candidate." }, "roles_responsibilities": { "type": "string", "description": "A detailed, natural language list detailing the responsibilities associated with the job, or past roles held by the candidate." }, "qualifications": { "type": "string", "description": "A detailed, natural language list detailing specific education background, professional certifications, along with specified professional and lived experience necessary for success in the role, or possessed by the candidate." }, "objectives_summary": { "type": "string", "description": "A detailed natural language, high-level objectives statement or summary of the job's purpose or candidate's career goals." }, "location": { "type": "string", "description": "A natural language statement about the job's location, e.g., city + state; hybrid; remote, etc. Or the candidate's city & state of residence." }, "salary": { "type": "string", "description": "A natural language statement about the job's stated salary or salary range; or the candidate's stated desired salary." } }, "required": [ "skills", "tools_technologies", "roles_responsibilities", "qualifications", "objectives_summary", "location" ] } } } ], "tool_choice": { "type": "function", "function": { "name": "structure_opportunity_details" } } }