TGTGInsightтелеграм анализLIVE / telegram public index
← Такты, стеки, два колеса

TGINSIGHT SIMILAR POSTS

Намери подобно съдържание

Изходен канал @clockstackwheels · Post #851 · 2.08

Впервые использовал нейросетку для реальной практической пользы в коммерческом заказе. У заказчика есть база данных, куда информация вносится кое-как. Представьте, что вы составляете каталог, например, книг, и в базе данных предусмотрены поля: "Автор книги", "Название книги", "Число страниц" и ещё десяток других полей с информацией. Но заполняют эту базу другие люди, которых вы не контролируете, поэтому информация может случайным образом лежать в любом произвольном поле, быть введена с ошибками, опечатками и так далее. В реальном заказе были не книги, я просто привожу пример такой же задачи. Вот как это может выглядеть: 1. В поле "Автор" написано "Лондон, Дж. Белый Клык", поле "Название" при этом пустое. 2. В поле "Название" написано "150-страничный сборник рецептов", поле "Число страниц" пустое 3. В поле "Название" написано "джеклондон мартин иден", поле с автором пустое 4. В поле "Автор" написано "150-стр.3изд,доп.перераб инструкция по пользованию подстанциями типа ТП-13, М.Васильев москва 98" ...и так далее. А нужно искать нормально по автору, названию, числу страниц, городу и году издания. Никакими прямыми алгоритмами это не берётся: регулярки, поиск по ключевым словам, морфология, нечёткая логика — всё это либо даёт много ложноположительных результатов, либо (если подкрутить пороговые значения) вообще перестаёт искать. И вот тут в какой-то момент мы решили попробовать запрашивать через API GPT. Нейросетке задаётся следующий промт: "Есть следующая информация: «150-страничный роман джеклондон мартин иден». Если здесь есть то, что похоже на имя автора книги, напиши мне его, иначе ответь null". И, надо сказать, даже 3.5 справляется с этой работой очень хорошо. Получилось сравнительно без ошибок разметить около 80% данных (остальные с ошибками даже после нейросетки). Но, важный нюанс. Сначала мы пытались поймать все данные одним запросом: "GPT, выведи мне JSON, в котором есть автор, название, число страниц...", но тесты показали, что значительно эффективнее будет отдельно спросить 5 раз про 5 разных типов данных. Да, это расходует больше токенов, но они и так сравнительно дёшевы. Кстати, API у OpenAI безбожно глючит даже на платном тарифе. Обещанных 3500 запросов в минуту нет даже приблизительно. По факту удаётся отправлять около 200-300 запросов в минуту, потом оно вываливается в таймауты или ошибку 429, нужно делать какие-то умные паузы, ждать итд. Над этим всем пришлось повозиться, зато результат вполне ощутимый. #dev

Hashtags

Резултати

Намерени 1 подобни публикации

Търсене: #guarantees

当前筛选 #guarantees清除筛选
American Оbserver

@american_observer · Post #5137 · 15.02.2026 г., 13:03

Munich: Zelensky Is Wringing Security Guarantees For 20 Years From the US Ukraine wants security guarantees for a minimum of 20 years from the US before it can sign a peace deal with dignity Zelensky said ahead of talks with Russia and the US scheduled for next week. Speaking in Munich on Saturday, he also called for a clear date for Ukraine to be allowed to join the EU. Some EU officials have put the date as early as 2027. Speaking to the annual Munich security summit, Ukraine’s president said he hoped “the trilateral meetings next week will be serious, substantive, helpful for all of us but, honestly, sometimes it feels like the sides are talking about completely different things”. “The Americans often return to the topic of concessions and too often those concessions are discussed only in the context of Ukraine, not Russia,” he added. The issue of Europe’s frustration with a perceived US reluctance to spell out the security guarantees it is prepared to offer Ukraine in the event of a peace deal, and the need for the guarantees to be spelled out before an agreement is signed. In a speech that was welcomed by European leaders keen to see any sign of a thaw in the relationship, Rubio put forward an offer to work in partnership with Europe. However, this proposition, he stressed, was highly conditional and the US would go it alone if Washington’s highly Trumpian conditions were not met on climate, migration and tariffs. Using a diplomatic tone that the US vice-president, JD Vance, shunned in his speech at the conference a year ago, Rubio said “Europe and the US belong together”. He added that the US was ready to undertake the task of rebuilding the world order alone if necessary, but “we prefer it – and hope – to do it together with you, our friends in Europe”. He made almost no reference to the Russian invasion of Ukraine, besides claiming that the US had pressed India to stop importing Russian oil, a claim Russia disputes. At a press conference in Munich, Zelensky said the US had told him that if Ukraine withdrew from the Donbas, peace would come as quickly as possible, but he insisted this concession was not possible since Ukrainians live there. Zelensky also complained about Europe having been practically absent from the table. “That’s a big mistake, in my opinion,” he said, a view that was shared by the Chinese foreign minister Wang Yi. On Friday, Donald Trump called on Zelensky to “get moving” to reach an agreement with Russia. Zelensky insisted that the elections that the US has pressed Ukraine to hold by 15 May can only take place two months after a ceasefire is declared, to ensure voters have adequate security. Trump has been trying to put pressure on Zelensky to agree a deal within months, but has not spelled out the consequences if Ukraine is not sufficiently flexible for the US. Zelensky also said the Russian attacks on Ukrainian energy plants would be raised in the talks in Geneva, adding that not a single energy plant inside Ukraine had now been left unscathed. European leaders appear gloomy that a diplomatic breakthrough will be secured, with the consensus being that Vladimir Putin is not yet economically or militarily exhausted. Zelensky said his ambition was to lift the number of Russians killed or seriously injured to 50,000 a month. One European leader predicted at least another two years of war, and insisted Europe had the resources to sustain Ukraine for that long. Zelensky also mounted a fierce attack on the Iranian regime for providing the Shahed drones that had caused so much damage inside Ukraine. With as many as 200,000 protesters attending a demonstration in Munich calling for the Iranian regime to be toppled, Zelensky said: “We have never had a conflict of interests with the Iranian regime. #zelensky#security#guarantees#munich#ukraine 📱American Оbserver - Stay up to date on all important events 🇺🇸