
GPT Multiple Text-Generation
This Actor may be unreliable while under maintenance. Would you like to try a similar Actor instead?
See alternative Actors
GPT Multiple Text-Generation
GPT-3.5 Turbo model without OPENAI KEY, provides a robust and user-friendly solution for processing text prompts. This actor is designed to streamline the process, ensuring efficient and high-quality outputs.
🚀 GPT-3.5-Turbo Text-Generation Actor for Apify 🌟
This project defines an Apify actor that interacts with the ChatGPT API to process a list of prompts and generate responses using GPT-3.5-Turbo. It supports batch processing and can handle up to 100 prompts at once! ✨ Whether you're working on large-scale datasets or need quick, multilingual responses, this actor has you covered! 🌍
🎯 Features
- 🔢 Process Multiple Prompts: Effortlessly handles a list of prompts provided via an input file or API request.
- 🤖 ChatGPT Integration: Leverages the power of the GPT-3.5-Turbo model to generate accurate and relevant answers.
- 📂 Structured Output: Provides responses in a clean and structured format for easy integration into your projects.
- ⚡ Batch Processing: Supports batch processing with
Promise.all
to maximize performance and handle large datasets efficiently. - 🛡️ Error Handling: Robust error management to handle failed requests or invalid inputs gracefully.
- 🌐 Multilingual Responses: Generates responses in any language based on the input prompt language. Perfect for global applications! 🌎🌍🌏
📥 Input Schema
The actor accepts the following input schema:
📝 Example Input
1{ 2 "prompts": [ 3 "What is AI?", 4 "How does GPT work?" 5 ], 6 "laguage": "English", 7 "batchSize": 10 8}
prompts
: An array of strings containing the prompts/questions to process.batchSize
: The number of prompts to process in each batch.
📤 Example Response
🇬🇧 English Response
1[ 2 { 3 "prompt": "What is AI?", 4 "response": "AI stands for artificial intelligence, which refers to machines or systems designed to simulate human intelligence." 5 }, 6 { 7 "prompt": "How does GPT work?", 8 "response": "GPT is a language model that uses deep learning to generate human-like text based on input prompts." 9 } 10]
🇯🇵 Japanese Response
1[ 2 { 3 "prompt": "What is AI?", 4 "response": "AIは「人工知能」を意味し、人間の知能を模倣するように設計された機械やシステムを指します。" 5 }, 6 { 7 "prompt": "How does GPT work?", 8 "response": "GPTは、入力されたプロンプトに基づいて人間のようなテキストを生成するためにディープラーニングを活用する言語モデルです。" 9 } 10]
🌍 Available Language
Number | Language | Support |
---|---|---|
1 | 🇬🇧 English | ✔ |
2 | 🇪🇸 Spanish | ✔ |
3 | 🇫🇷 French | ✔ |
4 | 🇩🇪 German | ✔ |
5 | 🇮🇹 Italian | ✔ |
6 | 🇵🇹 Portuguese | ✔ |
7 | 🇷🇺 Russian | ✔ |
8 | 🇯🇵 Japanese | ✔ |
9 | 🇨🇳 Chinese | ✔ |
10 | 🇰🇷 Korean | ✔ |
11 | 🇸🇦 Arabic | ✔ |
12 | 🇮🇳 Hindi | ✔ |
13 | 🇹🇷 Turkish | ✔ |
14 | 🇳🇱 Dutch | ✔ |
15 | 🇸🇪 Swedish | ✔ |
16 | 🇳🇴 Norwegian | ✔ |
17 | 🇩🇰 Danish | ✔ |
18 | 🇫🇮 Finnish | ✔ |
19 | 🇵🇱 Polish | ✔ |
20 | 🇷🇴 Romanian | ✔ |
21 | 🇨🇿 Czech | ✔ |
22 | 🇭🇺 Hungarian | ✔ |
23 | 🇬🇷 Greek | ✔ |
24 | 🇧🇬 Bulgarian | ✔ |
25 | 🇺🇦 Ukrainian | ✔ |
26 | 🇮🇱 Hebrew | ✔ |
27 | 🇮🇩 Indonesian | ✔ |
28 | 🇲🇾 Malay | ✔ |
29 | 🇹🇭 Thai | ✔ |
30 | 🇻🇳 Vietnamese | ✔ |
31 | 🇵🇭 Tagalog | ✔ |
32 | 🇵🇭 Filipino | ✔ |
33 | 🇵🇰 Urdu | ✔ |
34 | 🇧🇩 Bengali | ✔ |
🛠️ How It Works
- Input Your Prompts: Provide a list of questions or statements in any language. 🌍
- Specify Batch Size: Optimize processing by choosing the number of prompts per batch.
- Get Multilingual Responses: Receive answers tailored to the language of your input prompts. 🌐
- Structured Output: Easily integrate the responses into your application with clean, structured data. 💾
🔧 Error Handling
- The actor includes robust error reporting to log and identify issues for prompts that fail during processing.
- Any failed prompts will include error messages in the final output.
Why Use This Actor? 🌟
- 💼 Enterprise-Ready: Process large datasets efficiently.
- 🌐 Global Reach: Supports multiple languages for diverse audiences.
- 🔥 Highly Scalable: Handles up to 100 prompts in one execution.
- 📊 Structured Results: Perfect for integration with dashboards, analytics, and reporting tools.
Let this actor supercharge your workflow and make text generation faster, easier, and more flexible! 🚀