Learn how to use the OpenAI API slash command with PinkConnect Proxy for AI-powered capabilities
/openai-pc
/openai-pc generate a professional email about project status
/openai-pc analyze this image and describe what you see
/openai-pc create embeddings for similarity search
/openai-pc write a summary of the quarterly sales report
/openai-pc describe the contents of this product image
/openai-pc transcribe this meeting recording
/openai-pc get weather information for Boston using function calls
{ "model": "gpt-4o", "messages": [ { "role": "system", "content": "You are a helpful assistant that responds in JSON format." }, { "role": "user", "content": "What are the benefits of renewable energy?" } ], "max_tokens": 1500, "temperature": 0.7 }
{ "id": "chatcmpl-9AbCdEf12345", "object": "chat.completion", "created": 1677652288, "model": "gpt-4o", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "{\"benefits\": [\"Reduces carbon emissions\", \"Sustainable energy source\", \"Lower long-term costs\"]}" }, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 25, "completion_tokens": 45, "total_tokens": 70 } }
{ "model": "gpt-4o", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "What's in this image?" }, { "type": "image_url", "image_url": { "url": "https://example.com/image.jpg" } } ] } ], "max_tokens": 300 }
{ "id": "chatcmpl-9AbCdEf12345", "choices": [ { "message": { "role": "assistant", "content": "This image shows a golden retriever sitting in a park with green grass and trees in the background." }, "finish_reason": "stop" } ] }
{ "model": "gpt-4o", "messages": [ { "role": "user", "content": "What's the weather like in Boston?" } ], "tools": [ { "type": "function", "function": { "name": "get_current_weather", "description": "Get the current weather in a given location", "parameters": { "type": "object", "properties": { "location": { "type": "string", "description": "The city and state, e.g. San Francisco, CA" }, "unit": { "type": "string", "enum": ["celsius", "fahrenheit"] } }, "required": ["location"] } } } ], "tool_choice": "auto" }
{ "id": "chatcmpl-9AbCdEf12345", "choices": [ { "message": { "role": "assistant", "content": null, "tool_calls": [ { "id": "call_abc123", "type": "function", "function": { "name": "get_current_weather", "arguments": "{\"location\": \"Boston, MA\"}" } } ] }, "finish_reason": "tool_calls" } ] }
{ "input": "The quick brown fox jumps over the lazy dog", "model": "text-embedding-3-small" }
{ "object": "list", "data": [ { "object": "embedding", "embedding": [0.123, -0.456, 0.789, ...], "index": 0 } ], "model": "text-embedding-3-small", "usage": { "prompt_tokens": 8, "total_tokens": 8 } }
{ "model": "dall-e-3", "prompt": "A futuristic city skyline at sunset with flying cars", "n": 1, "size": "1024x1024", "quality": "standard", "style": "vivid" }
{ "created": 1677652288, "data": [ { "url": "https://oaidalleapiprodscus.blob.core.windows.net/private/..." } ] }
{ "file": "[AUDIO_FILE]", "model": "whisper-1", "language": "en" }
{ "text": "Hello, this is a test transcription of the audio file." }
{ "model": "tts-1", "input": "Hello world! This is a test of the text to speech API.", "voice": "alloy", "response_format": "mp3", "speed": 1.0 }
/openai-pc write a blog post about AI trends in 2025
/openai-pc analyze this CSV data and provide insights
/openai-pc create a Python function for data validation
/openai-pc analyze this screenshot and extract the text