from django.shortcuts import render
from rest_framework.views import APIView
from rest_framework.response import Response
from rest_framework.permissions import AllowAny


class HelloView(APIView):
    permission_classes = [AllowAny]

    def get(self, request):
        content = {'message': 'Holla, bienvenido a nuestro sistema de IA. '}
        return Response(content)
