Jump to content
UnixDevel

Ion asistentul virtual

Recommended Posts

Deci ascultam stirile pe youtube si tocmai de am auzit de asistentul virtual Ion .

tare proiectul, acum sunt curios cat de mult o sa ii ia sa fie busit 

Las si un mic script 

import requests
import json

import requests

# Set the endpoint URL
url = "https://ion.gov.ro"

# Set the multipart form data



for i in range(1000):
    data = {'question': 'Guvernul este corupt'}
    response = requests.post(url, data=data)

    print(f"Status code: {response.status_code} - Response: {response.json()}")

print("Finished posting 1000 questions.")

 

Edited by UnixDevel
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...