What is ChatGPT

ChatGPT Kiya Hai in Hindi ? – Can Replace Google ?

Programming Blog

ChatGPT Kiya Hai in Hindi ? ChatGPT AI ( Artificial Intelligence) ChatBot Hai. Jise OpenAI Company Ne Build Kiya Hai. Open AI Company Ke Founder Elon Musk Hai.
ChatGPT Ke Bare Me Ye Bhi Kaha Ja Raha Hai, Ki ye ChatGPT Bot Google Ko Bhi Replace Kar Sakta Hai. To Chaliye Iske Bare Me Jante Hai ki ChatGPT KIya Hai Or Kaise Google Ko Replace Kar Sakta Hai.

ChatGPT Kiya Hai in Hindi ?

ChatGPT Is AI ( Artificial Intelligence) ChatBot Hai. Jise OpenAI Company Ne Build Kiya Hai. Open AI Company Ke Founder Elon Musk Hai.

What is ChatGPT

ChatGPT Ek Large Languages Me Trained Kiya Gaya Model Hai, Jise OPENAI Ne Banaya Hai, Ye Human Se Baat Karne Ke Liye Ke Deep Learning Algorithms ( natural language ) Ka Istemal Karti Hai. ChatGPT capable hai text, articles and topics and style generate karne ke liye. or isse language translation, Text summarization, and conversation modeling ko perferm kiya ja sakta hai.

Try ChatGPT -> https://chat.openai.com/chat

I asked Chat GPT to build a To-Do app in Django with code — and then answer is below article

To create a to-do list app in Django, you will need to complete the following steps:

  • Set up a new Django project by running the following commands:
$ django-admin startproject todo
$ cd todo
  • Create a new Django app within the project by running the following command:’
$ python manage.py startapp todolist
  • Open the todolist/models.py file and define a new model called Task with the following fields:
from django.db import models

class Task(models.Model):
    title = models.CharField(max_length=200)
    completed = models.BooleanField(default=False)
  • In the same file, register the Task model with the admin site by adding the following code at the bottom of the file:
from django.contrib import admin

admin.site.register(Task)
  • Run the following commands to create the database tables for the app and create a superuser for the admin site:
$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py createsuperuser
  • Open the todo/urls.py file and add the following code to include the URLs for the to-do list app:
from django.contrib import admin
from django.urls import path, include

urlpatterns = [
    path('admin/', admin.site.urls),
    path('', include('todolist.urls')),
]
  • Create a new file called todolist/urls.py and add the following code to define the URLs for the app:
from django.urls import path
from . import views

urlpatterns = [
    path('', views.index, name='index'),
]
  • Create a new file called todolist/views.py and add the following code to define the view for the homepage:
from django.shortcuts import render
from .models import Task

def index(request):
    tasks = Task.objects.all()
    return render(request, 'todolist/index.html', {'tasks': tasks})
  • Create a new directory called templates in the todolist directory and create a new file called index.html within it. Add the following code to the file to define the template for the homepage:
<h1>To-do List</h1>

<ul>
  {% for task in tasks %}
    <li>{{ task.title }}</li>
  {% endfor %}
</ul>
  • Finally, run the following command to start the development server and test the app:
$ python manage.py runserver

after i saw the results -> ? its (chatgpt) amazing and it can be replace google in the future.
read more -> Google Faces a Serious Threat From ChatGPT
Thanks.

1 thought on “ChatGPT Kiya Hai in Hindi ? – Can Replace Google ?

Leave a Reply

Your email address will not be published. Required fields are marked *