Upload and manage files directly to providers (OpenAI, Bedrock, etc.) using Portkey’s unified API signature. This approach is useful when you need provider-specific file features or want to manage files directly on the provider’s platform.
For fine-tuning, each line should contain training examples:
Copy
Ask AI
{"messages": [{"role": "system", "content": "You are a helpful assistant."}, {"role": "user", "content": "Hello"}, {"role": "assistant", "content": "Hi! How can I help you today?"}]}{"messages": [{"role": "system", "content": "You are a helpful assistant."}, {"role": "user", "content": "What's 2+2?"}, {"role": "assistant", "content": "2+2 equals 4."}]}