A Vue.js application for easily creating and managing batch processing jobs with OpenAI and Anthropic APIs.
- Multi-Provider Support: Seamlessly switch between OpenAI and Anthropic batch APIs
- Batch Job Creation: Create batch jobs with custom settings and inputs
- JSONL Generator: Built-in tool to create properly formatted JSONL requests
- Status Tracking: Monitor the progress of your batch jobs
- Results Viewer: View and copy batch job results directly in the application
- Secure API Key Management: API keys are stored securely in your browser's local storage
# Install dependencies
npm install
# Compile and Hot-Reload for Development
npm run dev
# Compile and Minify for Production
npm run build
- Vue 3 - Frontend framework
- Vite - Build tool
- PrimeVue - UI Component library
- Tailwind CSS - Utility-first CSS framework
- Vue Router - Routing
- Visit the home page and select your preferred API provider (OpenAI or Anthropic)
- Navigate to the Settings page to configure your API keys
- Create a new batch job or check the status of existing jobs
- Navigate to the "Create Batch" page
- Enter your API key or verify your stored API key
- Configure your batch job settings and input data in JSONL format
- Review your configuration and submit the batch job
- Navigate to the "JSONL Generator" page
- Add requests by clicking "Add New Request"
- Configure each request with the appropriate model, messages, and parameters
- Copy the generated JSONL for use in batch jobs
- Navigate to the "Check Batch" page
- Enter a batch ID or select a previously created batch
- View batch details, status, and results when available
- Download or view results directly in the application
The application requires proxy settings for API requests to avoid CORS issues. This is configured in the vite.config.js
file.
- API keys are stored in the browser's local storage
- Direct API requests to Anthropic use the
anthropic-dangerous-direct-browser-access
header for development purposes - In production, it's recommended to use a backend service to handle API calls
Contributions are welcome! Please feel free to submit a Pull Request.
- OpenAI and Anthropic for providing the APIs
- The Vue.js community for the excellent documentation and resources