جھنگ چیمبر آف کامرس۔الائنز کلب جھنگ ۔روٹری کلب جھنگ سنٹرل۔انجمں تاجران ۔سول سوسائٹی اور جھنگ کی سیاسی و سماجی شخصیات نے کثیر تعداد میں شرکت کی
# To run this code you need to install the following dependencies:
# pip install google-genai
import base64
from google import genai
from google.genai import types
def generate():
client = genai.Client(
vertexai=True,
project="",
location="",
)
model = "gemini-2.5-pro-preview-03-25"
contents = [
types.Content(
role="user",
parts=[
types.Part.from_text(text="""سب سے زیادہ اچھے اے ائی ٹون کون سے ہیں جن کی طاقت سب سے زیادہ ہے اور جن کا گیان سب سے زیادہ ہے اردو میں تمام ویب سائٹ اور ان کی تفصیل بتائیں جو اے ائی ٹول تمام قسم کے کوڈ لکھ کر دیں اور کسی قسم کا پیسہ نہ مانگتے ہوں بالکل فری ٹول ہوں فری اے ائی ٹول سب سے بیسٹ کون سے ہیں"""),
],
),
types.Content(
role="model",
parts=[
types.Part.from_text(text="""Here's a thinking process to arrive at the suggested AI tools for coding in Urdu:
1. **Understand the User's Request:** The user wants to know about the \"best\" AI tools (AI ٹون) that are powerful (سب سے زیادہ طاقت), knowledgeable (سب سے زیادہ گیان), can write all types of code (تمام قسم کے کوڈ لکھ کر دیں), are completely free (کسی قسم کا پیسہ نہ مانگتے ہوں بالکل فری ٹول), and the information should be in Urdu. They specifically ask for websites and details.
2. **Identify Key Criteria:**
* **Purpose:** Code generation.
* **Quality:** \"Best,\" \"powerful,\" \"knowledgeable.\" This implies accuracy, versatility, and potentially understanding context.
* **Cost:** Absolutely free. No hidden costs, freemium models *might* be okay if the free tier is genuinely useful for the core request (code generation), but explicitly free is preferred.
* **Scope:** \"All types of code.\" This is a very broad requirement. No single tool is perfect for *everything*, but some are more general-purpose than others.
* **Language:** Output information in Urdu.
* **Format:** List websites and details.
3. **Brainstorm Potential AI Tools for Coding:**
* **Large Language Models (LLMs) with Coding Capabilities:**
* ChatGPT (OpenAI): Very popular, good coding ability, has a free tier.
* Gemini (Google): Formerly Bard, strong competitor to ChatGPT, good coding ability, has a free tier.
* Claude (Anthropic): Known for safety and longer context windows, good coding ability, has a free tier (though availability might vary).
* GitHub Copilot (Microsoft/OpenAI): *Specifically* designed for coding, integrates with IDEs. BUT, it's primarily a *paid* service after a trial. Doesn't fit the \"completely free\" criteria strictly, but worth mentioning as a benchmark or if the user might reconsider \"free\". *Self-correction: Stick to the free requirement.*
* Code Llama (Meta): Open-source model, powerful, but might require setup or access through platforms like Hugging Face or Perplexity. Less of a simple \"website\" interface for the average user unless accessed via another platform.
* Phind: An AI search engine focused on developers. Good for finding code snippets and explanations. Free tier available.
* Perplexity AI: AI search engine, often good at summarizing and finding code examples. Free tier available.
* Blackbox AI: Often marketed for code completion/generation. Has a free tier.
* **Specialized Coding Assistants (Often Paid or Freemium):**
* Tabnine: Code completion tool. Has a free tier, but the best features are paid.
* Replit Ghostwriter: Integrated into Replit IDE. Paid feature.
* Amazon CodeWhisperer: Similar to Copilot. Has a free tier for individual use.
4. **Filter based on \"Completely Free\":**
* ChatGPT (Free Tier): Yes.
* Gemini (Free Tier): Yes.
* Claude (Free Tier): Yes (check availability).
* Phind (Free Tier): Yes.
* Perplexity AI (Free Tier): Yes.
* Blackbox AI (Free Tier): Yes.
* Amazon CodeWhisperer (Individual Tier): Yes.
* *Discard GitHub Copilot (paid), Replit Ghostwriter (paid), Tabnine (limited free tier).*
* *Code Llama needs a platform, so mention platforms that offer it freely if possible, like Perplexity or Hugging Face spaces, but prioritize user-friendly web interfaces.*
5. **Filter based on \"Powerful\" and \"Knowledgeable\" (Subjective, but based on reputation):**
* ChatGPT, Gemini, and Claude are generally considered the most powerful *general-purpose* LLMs with strong coding skills available with free tiers.
* Phind is specifically good for *developer search* and code examples.
* Perplexity is good for search and synthesis, including code.
* CodeWhisperer is specifically trained for code.
* Blackbox AI is popular but sometimes reviews are mixed compared to the big players.
6. **Filter based on \"All types of code\":**
* The large general-purpose LLMs (ChatGPT, Gemini, Claude) are the most versatile across different programming languages and tasks (generating snippets, explaining code, debugging, writing full functions/scripts).
* CodeWhisperer is also broad but focused *only* on code generation/completion.
* Phind and Perplexity are better for *finding* or *explaining* existing code patterns rather than generating complex, novel applications from scratch, though they can generate snippets.
7. **Select the \"Best\" Free Options:** Based on the filters, the strongest contenders for general-purpose, free code generation via a website interface are:
* ChatGPT (Free Tier)
* Google Gemini (Free Tier)
* Claude (Free Tier)
* *Honorable Mentions/Specific Use Cases:* Phind (developer search/examples), Perplexity (search/examples), Amazon CodeWhisperer (IDE integration focus, free individual tier). Blackbox AI could be mentioned but perhaps lower priority than the top 3 LLMs.
8. **Structure the Answer in Urdu:**
* Start with an introductory sentence acknowledging the user's request for free, powerful AI coding tools.
* Explain that \"best\" is subjective but list the most highly regarded *free* options.
* For each tool:
* Give the name (in Urdu script if common, or Latin transliteration).
* Provide the primary website URL.
* Describe its key features/strengths related to coding (e.g., versatility, language support, explanation, debugging).
* Explicitly state that it has a useful free tier.
* Add important caveats:
* No AI is perfect; code needs review and testing.
* Free tiers might have limitations (usage caps, older models).
* \"All types of code\" is vast; performance varies.
* Complex projects still require human expertise.
* Conclude with encouragement or a summary statement.
9. **Translate and Refine (Urdu):**
* \"AI Tools\" -> اے ائی ٹولز (AI Tools) or مصنوعی ذہانت کے ٹولز (Artificial Intelligence Tools)
* \"Powerful\" -> طاقتور (Taqatwar)
* \"Knowledgeable\" -> باخبر (Ba-khabar) / علم والا (Ilm wala) / وسیع علم رکھنے والے (Wasee ilm rakhne wale) - use a phrase like \"جن کا گیان سب سے زیادہ ہے\" as the user did.
* \"Code\" -> کوڈ (Code)
* \"Free\" -> مفت (Muft) / بالکل فری (Bilkul Free)
* \"Website\" -> ویب سائٹ (Website)
* \"Details\" -> تفصیلات (Tafseelat)
* Draft the descriptions for each tool (ChatGPT, Gemini, Claude, etc.) in Urdu, focusing on their coding capabilities and free access.
* Ensure the language is clear and addresses all parts of the user's request.
* Review the Urdu phrasing for naturalness and accuracy. For example, instead of just saying \"ChatGPT,\" use \"چیٹ جی پی ٹی (ChatGPT)\".
* Add the disclaimer points in clear Urdu. (کوئی بھی اے آئی کامل نہیں ہے، مفت ورژن کی حدود ہوسکتی ہیں، وغیرہ)
10. **Final Review:** Read through the complete Urdu answer. Does it directly answer the user's question? Is it accurate? Is it easy to understand? Does it meet all the criteria (free, coding, powerful, knowledgeable, websites, details, Urdu)? Yes."""),
types.Part.from_text(text="""اسلام علیکم! آپ ایسے AI ٹولز کے بارے میں جاننا چاہتے ہیں جو کوڈنگ میں مدد کر سکیں، طاقتور ہوں، وسیع علم رکھتے ہوں، اور سب سے اہم، بالکل مفت ہوں۔
یہاں چند بہترین مفت AI ٹولز کی تفصیلات دی گئی ہیں جو کوڈ لکھنے، سمجھنے اور ڈی بگ کرنے میں آپ کی مدد کر سکتے ہیں:
1. **چیٹ جی پی ٹی (ChatGPT) - OpenAI:**
* **ویب سائٹ:** [https://chat.openai.com](https://chat.openai.com)
* **تفصیل:** یہ اس وقت سب سے مشہور اور طاقتور AI چیٹ بوٹس میں سے ایک ہے۔ اس کا مفت ورژن (GPT-3.5 پر مبنی) بہت قابل ہے۔
* **کوڈنگ کی صلاحیت:**
* مختلف پروگرامنگ زبانوں (Python, JavaScript, Java, C++, HTML/CSS, SQL وغیرہ) میں کوڈ لکھ سکتا ہے۔
* کوڈ کے ٹکڑوں (snippets) کو سمجھا سکتا ہے۔
* کوڈ میں موجود غلطیوں (bugs) کو تلاش کرنے اور ٹھیک کرنے میں مدد کر سکتا ہے۔
* الگورتھم ڈیزائن کرنے میں مدد فراہم کر سکتا ہے۔
* آپ اسے اپنی ضرورت بتا کر کوڈ تیار کرنے کو کہہ سکتے ہیں۔
* **نوٹ:** مفت ورژن کبھی کبھی زیادہ ٹریفک کی وجہ سے سست ہوسکتا ہے اور اس کا علم ستمبر 2021 تک محدود ہے (حالانکہ کچھ اپڈیٹس ہوسکتی ہیں)۔ زیادہ طاقتور ورژن (GPT-4) کے لیے ادائیگی درکار ہے۔
2. **گوگل جیمنائی (Google Gemini) - (پہلے Google Bard):**
* **ویب سائٹ:** [https://gemini.google.com/](https://gemini.google.com/)
* **تفصیل:** یہ گوگل کا طاقتور AI چیٹ بوٹ ہے جو براہ راست گوگل سرچ سے تازہ ترین معلومات تک رسائی رکھتا ہے۔
* **کوڈنگ کی صلاحیت:**
* چیٹ جی پی ٹی کی طرح، یہ بھی مختلف پروگرامنگ زبانوں میں کوڈ لکھ سکتا ہے، سمجھا سکتا ہے اور ڈی بگ کر سکتا ہے۔
* یہ گوگل کی وسیع ٹیکنالوجی اور علم پر مبنی ہے۔
* یہ کوڈنگ کے مسائل کے حل تلاش کرنے اور مثالیں فراہم کرنے میں بہت اچھا ہے۔
* تازہ ترین لائبریریوں اور فریم ورکس کے بارے میں معلومات فراہم کر سکتا ہے۔
* **نوٹ:** یہ نسبتاً نیا ہے لیکن تیزی سے بہتر ہو رہا ہے اور مکمل طور پر مفت ہے۔
3. **کلاڈ (Claude):**
* **ویب سائٹ:** [https://claude.ai/](https://claude.ai/)
* **تفصیل:** یہ Anthropic نامی کمپنی کا AI اسسٹنٹ ہے جو متن اور کوڈ تیار کرنے میں مہارت رکھتا ہے۔ اس کا ایک مفت ورژن دستیاب ہے۔
* **کوڈنگ کی صلاحیت:**
* یہ بھی مختلف زبانوں میں کوڈ لکھ سکتا ہے۔
* خاص طور پر طویل سیاق و سباق (long context) کو سمجھنے میں اچھا ہے، جو پیچیدہ کوڈنگ مسائل میں مددگار ثابت ہوسکتا ہے۔
* کوڈ کی وضاحت اور دستاویزات (documentation) لکھنے میں مدد کرسکتا ہے۔
* **نوٹ:** اس کی دستیابی علاقائی طور پر محدود ہوسکتی ہے، اور مفت ورژن کی روزانہ استعمال کی حد ہوسکتی ہے۔
4. **فِنڈ (Phind):**
* **ویب سائٹ:** [https://www.phind.com/](https://www.phind.com/)
* **تفصیل:** یہ خاص طور پر ڈویلپرز کے لیے ڈیزائن کیا گیا AI سرچ انجن ہے۔
* **کوڈنگ کی صلاحیت:**
* یہ ویب سے متعلقہ کوڈ کے نمونے اور وضاحتیں تلاش کرتا ہے اور انہیں ایک مربوط جواب میں پیش کرتا ہے۔
* یہ اکثر تازہ ترین معلومات اور بہترین طریقوں (best practices) پر مبنی جوابات دیتا ہے۔
* یہ کوڈ جنریٹ بھی کرسکتا ہے۔
* **نوٹ:** یہ بنیادی طور پر معلومات تلاش کرنے اور کوڈ کی مثالیں فراہم کرنے پر مرکوز ہے، لیکن بہت مفید ہے۔ اس کا مفت ورژن کافی طاقتور ہے۔
5. **بلیک باکس اے آئی (Blackbox AI):**
* **ویب سائٹ:** [https://www.useblackbox.io/](https://www.useblackbox.io/)
* **تفصیل:** یہ AI خاص طور پر کوڈنگ کے لیے بنایا گیا ہے اور کوڈ تلاش کرنے، سمجھنے اور لکھنے میں مدد کرتا ہے۔
* **کوڈنگ کی صلاحیت:**
* قدرتی زبان (جیسے آپ کی ضرورت) کو کوڈ میں تبدیل کر سکتا ہے۔
* کوڈ مکمل کرنے (code completion) کی خصوصیت فراہم کرتا ہے۔
* مختلف زبانوں کو سپورٹ کرتا ہے۔
* **نوٹ:** اس کا ایک مفت ٹائیر (free tier) دستیاب ہے جس میں کچھ حدود ہوسکتی ہیں۔
**کون سا \"سب سے بیسٹ\" ہے؟**
یہ کہنا مشکل ہے کہ کون سا \"سب سے بیسٹ\" ہے کیونکہ یہ آپ کی مخصوص ضروریات پر منحصر ہے۔
* **عام مقاصد اور وسیع علم کے لیے:** ChatGPT اور Google Gemini بہترین آپشنز ہیں۔ ان کی مفت ورژنز بہت طاقتور ہیں۔
* **ڈویلپر فوکسڈ سرچ اور مثالوں کے لیے:** Phind بہت مفید ہے۔
* **طویل کوڈ یا سیاق و سباق کے لیے:** Claude اچھا ہوسکتا ہے۔
* **کوڈ جنریشن پر فوکس کے لیے:** Blackbox AI کو بھی آزمایا جا سکتا ہے۔
**اہم نکات:**
* **کوئی AI کامل نہیں:** ان ٹولز سے تیار کردہ کوڈ کو ہمیشہ احتیاط سے جانچیں، ٹیسٹ کریں اور سمجھیں۔ یہ غلطیاں کر سکتے ہیں۔
* **مفت ورژن کی حدود:** مفت ورژنز میں بعض اوقات استعمال کی حد، کم رفتار، یا تازہ ترین ماڈلز تک رسائی نہ ہونے جیسی حدود ہوسکتی ہیں۔
* **سیکھنے کا متبادل نہیں:** یہ ٹولز سیکھنے کے عمل میں مددگار ہیں، لیکن یہ خود پروگرامنگ سیکھنے کا متبادل نہیں ہیں۔
میری تجویز ہے کہ آپ ان میں سے چند ایک کو آزمائیں اور دیکھیں کہ کون سا آپ کے کام کے انداز اور ضروریات کے مطابق بہترین ہے۔ شروع کرنے کے لیے ChatGPT اور Google Gemini بہترین جگہیں ہیں۔"""),
],
),
types.Content(
role="user",
parts=[
types.Part.from_text(text="""بلاگ سپورٹ بلاگر کے لیے ہائی ریک یہ پیج کو کیا کرنا چاہیے
"""),
types.Part.from_text(text="""INSERT_INPUT_HERE"""),
],
),
]
generate_content_config = types.GenerateContentConfig(
response_mime_type="text/plain",
)
for chunk in client.models.generate_content_stream(
model=model,
contents=contents,
config=generate_content_config,
):
print(chunk.text, end="")
if __name__ == "__main__":
generate()