Groq
Chat completion (tanpa streaming), transkripsi dan terjemahan Whisper, text to speech, model, file dan batch (hapus dan batal hanya lewat node)
Tentang
Plugin Graphrt untuk Groq API yang kompatibel dengan OpenAI. Groq menyajikan model terbuka (Llama, GPT-OSS, Qwen, Whisper dan lainnya) dengan kecepatan sangat tinggi, cocok untuk workflow yang butuh model kedua yang cepat untuk mengklasifikasi, mengekstrak, meringkas, mentranskripsi panggilan, membacakan teks, atau menjalankan pekerjaan besar lewat Batch API. Request tidak di-stream. Setiap operasi adalah node workflow, hapus dan pembatalan batch hanya lewat node.
Yang bisa dilakukan
- create_chat_completion: messages, response_format (JSON mode, JSON schema), tools, reasoning_effort and reasoning_format for reasoning models
- Audio: transcribe_audio (Whisper, any language), translate_audio (to English) from a file or a public url, create_speech (text to speech, saved to disk)
- Models: list_models, get_model
- Files: list_files, upload_file, get_file, download_file_content (saved to disk), delete_file
- Batch API: create_batch, get_batch, list_batches, cancel_batch
- api_request: any other endpoint under https://api.groq.com/openai/v1 (GET only for agents)
Aksi
Setiap aksi adalah langkah yang bisa ditambahkan ke workflow. Agent juga bisa memakai sebagian besar aksi sebagai tool.
- Create chat completion
groq.create_chat_completion - List models
groq.list_models - Get model
groq.get_model - Transcribe audio
groq.transcribe_audio - Translate audio to English
groq.translate_audio - Text to speech
groq.create_speech - List files
groq.list_files - Upload file
groq.upload_file - Get file
groq.get_file - Download file content
groq.download_file_content
Tampilkan semua 16 aksi
- Delete file
groq.delete_file - Create batch
groq.create_batch - Get batch
groq.get_batch - List batches
groq.list_batches - Cancel batch
groq.cancel_batch - Groq API request
groq.api_request
Pengaturan
Graphrt menyalakan plugin dengan environment yang bersih. Hanya nilai ini yang sampai ke plugin, dan secret tidak masuk log.
-
GROQ_API_KEYWajibAPI key (gsk_...), sent as Authorization: Bearer -
GROQ_UPLOAD_DIROpsionalDirectory audio and batch files may be read from (absolute path). Without it, file must be an https URL -
GROQ_TOOL_ALLOW_BATCHOpsional1 lets agent tools call create_batch (off by default: one call can queue thousands of paid requests) -
GROQ_OUTPUT_DIRFor create_speech, download_file_contentAbsolute directory where audio and file content are saved
Cara memakainya
Di Graphrt Desktop
- Buka Plugins dan cari Groq.
- Klik Install lalu setujui.
- Ikuti langkah setup di halaman plugin, lalu tempel pengaturan yang dibutuhkan.
- Jelaskan pekerjaan yang membutuhkannya, dan builder menambahkan langkahnya.
Dengan CLI
$ graphrt plugin install groq - id: transcript
type: groq.transcribe_audio
file: "{{#start.recording_url#}}"
language: id
- id: summary
type: groq.create_chat_completion
model: llama-3.3-70b-versatile
messages:
- { role: system, content: Summarize the call in three bullet points. }
- { role: user, content: "{{#transcript.data.text#}}" }
- id: answer
type: answer
answer: "{{#summary.data.choices.0.message.content#}}"