<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Aigents with Anton Kolonin on Medium]]></title>
        <description><![CDATA[Stories by Aigents with Anton Kolonin on Medium]]></description>
        <link>https://medium.com/@aigents?source=rss-4bb7f4242834------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9iAKP6pDpT7gzceN5b65EQ.png</url>
            <title>Stories by Aigents with Anton Kolonin on Medium</title>
            <link>https://medium.com/@aigents?source=rss-4bb7f4242834------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 13:24:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aigents/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Aigents Bot for Telegram Groups]]></title>
            <link>https://aigents.medium.com/aigents-bot-for-telegram-groups-1dba32140047?source=rss-4bb7f4242834------2</link>
            <guid isPermaLink="false">https://medium.com/p/1dba32140047</guid>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[aigents]]></category>
            <category><![CDATA[telegram]]></category>
            <category><![CDATA[telegram-bot]]></category>
            <category><![CDATA[social]]></category>
            <dc:creator><![CDATA[Aigents with Anton Kolonin]]></dc:creator>
            <pubDate>Fri, 11 Dec 2020 18:06:48 GMT</pubDate>
            <atom:updated>2020-12-11T18:06:48.551Z</atom:updated>
            <content:encoded><![CDATA[<p>With the latest version of the <a href="https://t.me/AigentsBot">Aigents bot on Telegram</a>, you can receive reports and graphical representations of your activity and interactions with friends and colleagues in Telegram groups, automatically have an emotional response to negative and positive messages in groups, and moderate the groups using the bot. Also— you can <a href="https://aigents.medium.com/custom-web-search-with-aigents-eb50767fc44c">search</a> and <a href="https://aigents.medium.com/aigents-on-messengers-monitoring-and-searching-web-sites-and-group-chats-f5d585e0355e">monitor</a> news on the Internet and in Telegram groups.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MDAxOpcauwqpL4RYHWjX6Q.png" /><figcaption>Getting Personal Social Reports and Graphs with <a href="https://t.me/AigentsBot">AigentsBot</a> on Telegram</figcaption></figure><p>The <a href="https://github.com/aigents/aigents-java/blob/master/doc/aigents_telegram.md">documentation</a> tells about this in detail, the following video shows how this is done, and the rest of the publication provides an overview of the new features of the <a href="https://t.me/AigentsBot">AigentsBot</a> for Telegram.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FHsQBAWdS3tc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DHsQBAWdS3tc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FHsQBAWdS3tc%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d4ddd09b1b44e0781b5ef35e914ef47c/href">https://medium.com/media/d4ddd09b1b44e0781b5ef35e914ef47c/href</a></iframe><h4>Personal Social Reports</h4><p>With the help of the <a href="https://t.me/AigentsBot">AigentsBot</a> bot, as well as any other bot based on the <a href="https://github.com/aigents/aigents-java/">Aigents platform</a> and hosted by yourself, you can get reports and graphical representations of your activity and interactions with friends and colleagues in Telegram groups. To do this, you need to request a report from the bot in one of the following ways.</p><ol><li>In a chat with the bot itself: for this purpose you need to go through authorization with it, indicating your email address, first and last name, secret question, and secret answer — you can specify anything, the main thing is to remember all that so that you can log in with the same later on the Web site where the bot “lives” (for instance, <a href="https://t.me/AigentsBot">AigentsBot</a> “lives” at <a href="https://aigents.com/">https://aigents.com</a>);</li><li>In a Telegram group, referring to the bot explicitly as <a href="https://t.me/AigentsBot">@AigentsBot</a> or by responding to one of its replies in the group (for this purpose, the bot must be added to the group by the admin, and it must be given the admin role);</li><li>On the website <a href="https://aigents.com/">https://aigents.com</a> in the “Chat” section or any other site based on the <a href="https://github.com/aigents/aigents-java/">Aigents platform</a>.</li><li>Chatting with Aigents bots in <a href="https://www.messenger.com/t/aigents">Facebook Messenger</a> or <a href="http://aigents.com/en/slack.html">Slack</a> chats.</li></ol><p>The Aigents <a href="https://github.com/aigents/aigents-java/blob/master/doc/aigents_reports.md">documentation</a> describes exactly how you can get the reports along with possible configuration options. Below we proved some examples of different report sections for Telegram user <strong>akolonin</strong> (the author of this article), using the metrics described in our earlier <a href="https://link.springer.com/chapter/10.1007/978-3-030-03402-3_25">scientific publication</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PeQZwD9ctLyBtv8IfVswPA.png" /><figcaption>Interests of the user and his/her friends and colleagues, similar friends and colleagues, best friends/colleagues, and fans/followers.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BMunpK9IXDcLcK4g-ekstA.png" /><figcaption>Authorities and opinion leaders of the user along with the reputation rank levels within the entire community across all user’s groups.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DnUzW0eZbutbFtRzrAWHhA.png" /><figcaption>Words, terms, and phrases are mostly used by the user across different activity periods and friends/colleagues most actively replying to the user and mentioning him or her — along with dynamics of the user’s reputation/karma over the periods.</figcaption></figure><h4>Personal Social Graphs</h4><p>Using the reports described above, you can also get a simple social graph in the very immediate environment of the user. However, much more detailed and interactive graphical information can be found at <a href="https://aigents.com/">https://aigents.com</a> under the “Graphs” view or any other site based on the <a href="https://github.com/aigents/aigents-java">Aigents platform</a>.</p><p>The first simple kind of graph, involved in the “Graph” view at <a href="https://aigents.com/">https://aigents.com</a> renders “the nearest” social environment within “one handshake” distance, rendering the similarity of the friends and colleagues to given user, levels of their reputation and overall connectivity with the ability to adjust time interval and similarity and connectivity thresholds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ER94wXSjbRyPXaNNso6Bjg.png" /><figcaption>“One-handshake distance” social graph in the “Graph” view at <a href="https://aigents.com/">https://aigents.com</a></figcaption></figure><p>A more complex kind of graph may be invoked from the former one with a “magic” right-mouse click and it provides the ability to specify social distance measured in “number of handshakes” as well as graph querying and rendering options.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PeQD1eBw7kjx4GyZ7pLFBg.png" /><figcaption>Interactive graph query and rendering interface invoked by right-mouse-click from the former “one-handshake distance” social graph in the “Graph” view at <a href="https://aigents.com/">https://aigents.com</a></figcaption></figure><p>You can learn more about the analysis of social graphs of Aigents for social networks, blockchains, and messengers in a <a href="https://blog.singularitynet.io/graphs-part-3-aigents-graph-analysis-for-blockchains-and-social-networks-142fc8182389">separate article</a> or watch the following video.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FEbV-HwLwViY%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DEbV-HwLwViY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FEbV-HwLwViY%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/dc7fa5cde1b48d24853e60b4671aebe2/href">https://medium.com/media/dc7fa5cde1b48d24853e60b4671aebe2/href</a></iframe><h4>Emotional Feedback</h4><p>The new version of Aigents gives the bot the ability to provide emotional support to users of Telegram groups — if <a href="https://t.me/AigentsBot">AigentsBot</a> or any other bot based on the <a href="https://github.com/aigents/aigents-java/">Aigents platform</a> is added to these groups as admin. That means that the bot tries to recognize positive and negative emotions in messages in the groups where it is added — in accordance with the <a href="https://blog.singularitynet.io/aigents-sentiment-detection-personal-and-social-relevant-news-be989d73b381">algorithm and configuration described in a separate article</a> and reacts to them with emojis or emoticons. The bot reacts with a smile 😊 to messages that seem positive to the bot, and a frowning expression 😞 to negative messages.</p><p>How often and how impulsively the bot will respond to messages in the group is configured by the bot’s configuration in the chat, using the sentiment <em>threshold parameter </em>in the range from 1 to 100. Values ​​closer to 1 will decrease the “response threshold” and increase the “smileiness” or “gloom”, depending on the sentiment (emotional payload) of a message, respectively. Conversely, values ​​closer to 100 will increase the “triggering threshold” and the bot will only react to very emotionally charged messages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mrN5HHuJjC3lyrP9owHXvg.png" /><figcaption>On the left — bot reacting to positive (top), negative (middle), and rude (bottom) messages with respective emojis or emoticons. On the right — the bot “reports” any rude messages to the group admin (human)</figcaption></figure><h4>Group Moderation</h4><p>Now the bot Aigents can be used to moderate groups — for now, to control the “rudeness” in groups. The bot can have its own list of “inappropriate words and expressions”, to which it will be guided (by default, the <a href="https://github.com/aigents/aigents-java/blob/master/lexicon_rude_english.txt">standard list</a> is used). If any of the specified “inappropriate words and expressions” appear in any message in the group where the admin added <a href="https://t.me/AigentsBot">AigentsBot</a> or any other bot based on the <a href="https://github.com/aigents/aigents-java/">Aigents platform</a>, all other admins of this group (if they are people, not bots) will receive the corresponding “reports” in a private chat (if they are previously authorized by the bot itself).</p><p>In addition to the above, the bot itself will emotionally respond to such a message in the group, depending on the setting of the <em>rudeness threshold</em> parameter in the range from 1 to 100. The “rudeness” of any message is measured in the range from 0 to 100, and if the value exceeds the configured <em>rudeness threshold</em>, then the bot automatically removes the message from the group. If this value is less than the configured parameter, then the bot simply reacts to such a message with an emoji or emoticon in the form of a flushed face with bulging eyes 😳.</p><p><strong>All that said, start using the </strong><a href="https://t.me/AigentsBot"><strong>AigentsBot</strong></a><strong> today or host your own bot using the </strong><a href="https://github.com/aigents/aigents-java/"><strong>Aigents platform</strong></a><strong> and let us know your feedback in the following groups and media channels:</strong></p><ol><li><a href="https://t.me/aigents">Telegram Group</a></li><li><a href="https://www.facebook.com/aigents">Facebook Page</a></li><li>On <a href="https://youtube.com/aigents">YouTube</a></li><li>On <a href="https://twitter.com/@aigents">Twitter</a></li><li>On <a href="https://medium.com/@aigents">Medium</a></li><li>On <a href="https://reddit.com/r/aigents">Reddit</a></li><li>On <a href="https://steemit.com/@aigents">Steemit</a></li></ol><h3>Register with Aigents today!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*ByEjTQcBvaSHDjCIdVOqZw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1dba32140047" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Future of Blockchain and Reputation Consensus]]></title>
            <link>https://aigents.medium.com/future-of-blockchain-and-reputation-consensus-b754abfc9b3b?source=rss-4bb7f4242834------2</link>
            <guid isPermaLink="false">https://medium.com/p/b754abfc9b3b</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <category><![CDATA[distributed-ledgers]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[reputation]]></category>
            <dc:creator><![CDATA[Aigents with Anton Kolonin]]></dc:creator>
            <pubDate>Fri, 11 Dec 2020 07:42:09 GMT</pubDate>
            <atom:updated>2023-02-12T16:22:51.045Z</atom:updated>
            <content:encoded><![CDATA[<p>Three years ago I was already expressing my <a href="https://golos.id/ai/@akolonin/o-kriptovalyutakh-blokcheine-ravnorangovykh-setyakh-i-intellektakh?invite=aigents">skepticism regarding the wider applicability and adoption of “peer-to-peer distributed ledgers”</a>, widely known as “blockchains”. <a href="http://digital-economy.ru/obzory/smogut-li-kriptovalyuty-i-iskusstvennyj-intellekt-na-blokchejne-byt-detsentralizovannymi">Half-year ago it has been pretty much confirmed</a> by <a href="https://www.coindesk.com/facebook-libra-might-not-ever-launch-concedes-firm">known issues with Facebook’s Libra</a> and <a href="https://medium.com/okex-blog/telegrams-ton-is-over-the-full-saga-behind-the-failed-blockchain-project-285ae69e656d">graceful crash of Gram(Ton) project</a>, the announcement of the <a href="https://www.coindesk.com/china-digital-yuan-cbdcs-crypto">crypto-yuan</a>, <a href="https://www.forbes.com/sites/jasonbrett/2020/05/14/visa-submits-patent-application-for-digital-dollar-using-blockchain/?sh=2aaa42365b63">Visa crypto-dollar parent claim</a>, then the <a href="https://shadowspublishing.medium.com/anatomy-of-justin-suns-hostile-takeover-of-the-steem-blockchain-bf28de9c6e2b">hostile takeover of Steemit blockchain</a> via DPOS-attack and consolidation of more than <a href="https://www.financemagnates.com/cryptocurrency/news/does-china-control-bitcoin-and-ethereum/">50% of Bitcoin and Ethereum mining powers on the territory and under the jurisdiction of Celestial Empire</a>, and finally by <a href="https://www.forbes.com/sites/michaeldelcastillo/2020/12/02/visa-partners-with-ethereum-digital-dollar-startup-that-raised-271-million/?sh=38fb1f364b1f">happy engagement of Visa with Ethereum</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*m-K5CrOEPBR9yO6F.jpg" /><figcaption>Which blockchain will save the world?</figcaption></figure><p>Another perspective of the decentralization and multi-agent systems that I was talking about at the <a href="https://www.eventbrite.co.uk/e/the-decentralized-os-tickets-127485471477">Decentralized OS</a> event last month is the development of a fair and reliable reputation system based on the principle of “liquid democracy” — in the following video.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fo0WztEvVyR0%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Do0WztEvVyR0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fo0WztEvVyR0%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e9818b05c9f68656c6b6bae55912bcfb/href">https://medium.com/media/e9818b05c9f68656c6b6bae55912bcfb/href</a></iframe><p>So, below we will start talking about what the <strong>future may await “distributed ledgers” (including “blockchains” and “cryptocurrencies” as special cases)</strong>, in the cruel world of objective laws of nature, where everything is ruled by the nasty “law of conservation of energy”. In the end, we will consider how the <strong>future may get improved with the consensus relying on the “weighted liquid rank” reputation system</strong>.</p><p>The application of the “law of conservation” to our case of processing of cryptocurrency payments on a network of nodes of a distributed network operating on the basis of the principle of peer-2-peer (“equal to equal”) is that there are four fundamental requirements for any system of conducting financial transactions in a “distributed ledger” where succeeding in satisfying any of the four makes it problematic to satisfy all of the others. So these are the four requirements.</p><ol><li>Speed ​​ — the payment transaction must be executed quickly, including both the time of its execution and payment confirmation and the period after which it can not be considered as a subject to “rollback” (so-called “finality time”).</li><li>Cheapness ​ — the payment transaction must be cheap, which means that the extra cost (like “gas”) or commission for its execution must be significantly lower than the amount of the transaction itself.</li><li>Security — the system for conducting transactions must be secure, that is, it must guarantee the practical impossibility of non-authorized or malicious execution of any transactions violating the regulations or blocking the conduct of other legitimate transactions.</li><li>Decentralization — the transaction system must be independent of any individual participants, that is, its consensus must be controlled in the worst case by more than 50% of the participants or the rights that they have allocated according to the current consensus formula (Proof-of-Work, Proof-of-Stake, Delegated-Proof-of-Stake, Proof-of-Reputation and so on).</li></ol><p>Unfortunately, the practical situation with the fulfillment of all these requirements is such that none of the existing cryptocurrency systems on the blockchain can even, in principle, satisfy these requirements to such an extent as to become accepted by the broad masses of the population for making ordinary payments, which we usually make using Visa and Mastercard. Despite the fundamental nature of the mutual inconsistency of these requirements due to the laws of the material world and strict mathematics, the best minds of the cryptocurrency community are trying to find balanced solutions of various kinds, such as “sharding”, “sidechains”, “rollups” and their variations and varieties — any of these options improve the feasibility of one or more of the requirements above at the expense of others.</p><p>For instance, if you want to “quickly” pay for a cup of coffee at a kiosk on the street, you can quickly and cheaply make a transaction due to the “optimistic rollup” by means of a pool of transactions accumulated in the “side chain”, but after a week (“finality time”) the seller of coffee might get unpleasantly surprised to find that the payment transaction was rejected because the validators retroactively found fraud in the block your transaction fell into — fortunately for you and frustrating for the seller of the coffee. Well, it is possible to reduce the “finality time” by limiting the possibility of the “rollback” of fraudulent transactions in time, but then the security of the system is compromised.</p><p>In turn, the security itself can be increased by replacing the “optimistic rollup” with more advanced cryptographic protection of transactions in the “side-chain” pool using a “Zero-Knowledge Succinct Non-Interactive Argument of Knowledge” (“ZK-SNARK”), and this removes the need to wait a couple of weeks until the validators finish their work, but the coffee will still have time to cool down during the generation of cryptographic protection for the entire pool of transactions that include your payment, and the cost of computing costs for this can slightly spoil the taste of the coffee.</p><p>Another way to increase the speed and reduce the cost of transactions in the main blockchain without placing operations in the “side-chain”, as in the examples above, is to parallelize the main blockchain into independent “shards”, where the low speed of block formation with transactions in a separate chain can be compensated by a number of independently parallel formed chains, and each chain can be formed not by all nodes of the distributed network, but only by a limited set of nodes associated with a given “shard”. This would speed up the formation of blocks at the scale of the entire blockchain. However, this way we reduce the security of the entire blockchain, making each separate “shard” more vulnerable. Also, by doing so we make the system less “distributed”, but rather “decentralized”, with the computing “cluster” consisting of a set of “shards” with the influence of individual nodes on the consensus in each particular “shard” increasing and the overall security compromised.</p><p>As a bottom line, the ultimate solution for a fast, cheap and secure system of “decentralized” transactions is a computing cluster of a finite number of “shards” with several highly reliable nodes (“trusted comrades”) responsible for transactions in this shard. Bringing the situation to the point of absurdity (from the point of view of “distribution” and ideas of “crypto-anarchism”), we can have just one really-really highly reliable node in each of the “shards”, resulting in a simple scheme of multi-server balancing of transaction processing according to the “multi-master“. In the latter case, we essentially end up with a set of servers that parallelize the processing of transactions on shared memory with counter-synchronization of transactions across the cluster. If necessary, cryptographic protection of transactions can be added to this, but in the case of ensuring “high reliability and security” of each of the servers, the extra complication with such over-protection can only be a factor that increases the overhead for the user and excessive transaction costs. Obviously, this is kind of how well-known transaction processing systems like Visa and Mastercard work.</p><p>On the other hand, an even more obvious argument is that a decentralized system for processing transactions, claiming to be at a speed not lower than that of the known payment systems mentioned above, as well as the corresponding volumes, should not only provide adequate performance of equipment at each of the nodes but also introduce additional costs for each of “extra” nodes, added in order to increase the “distribution”, plus the time and network traffic needed for “reaching consensus”, growing exponentially with the growth of the number of nodes, plus cryptographic protection in the context of public deployment and the publicity of the “distributed ledger” data itself.</p><p>There are two conclusions from this whole story.</p><p>The first, the saddest one and <a href="https://golos.id/ai/@akolonin/o-kriptovalyutakh-blokcheine-ravnorangovykh-setyakh-i-intellektakh?invite=aigents">not a new one</a> is that no “distributed” (all nodes are equal, no clients and servers) system, in principle, can ever compete with a “centralized” (one server for many clients) or “decentralized” (several servers in a cluster for many clients) for any of such indicators as speed, cost, and security, moreover — for all three at once.</p><p>The second and the more practical one is that if increased speed, cost, and security are possible through partial “centralized distribution” or “decentralized centralization”, then an algorithm can be provided so that the “trusted servers” are those that reflect the interests of the community — according to the <a href="https://steemit.com/blockchain/@aigents/proof-of-reputation-as-liquid-democracy-for-blockchain">principle of “liquid democracy” applied to the “distributed ledger system management”</a>.</p><p><a href="https://arxiv.org/abs/1806.07342">The “weighted liquid rank” or “liquid reputation” algorithm</a> used to determine “trustworthy nodes” within the “distributed ledger” protocol would allow dynamically reassigning “blockchain attendants” or relaying nodes responsible for signing and verifying transactions. In addition to that, it can also allow the formation of pools of nodes responsible for separate “shards” — in the case of blockchain division in order to increase scalability in terms of speed. At the same time, scalability and level of decentralization can be determined by just two parameters of the current state of blockchain configuration — the total number of “trusted nodes” in a cluster running blockchain <em>M</em> and the total number of “shards” in the cluster <em>N</em>, so that <em>M = K * N</em>, where <em>K</em> is the number of “trusted nodes” in a separate “shard “ (<em>M ≥ N, N≥ 1, K≥1</em>). Obviously, the management of these parameters in real-time during the operation of the system can also be the subject of a “social contract” and be determined by the voting protocol involving all of the participants, employing the same “weighted current rating” principle during the voting process.</p><p>It is important to note that the <a href="https://steemit.com/blockchain/@aigents/proof-of-reputation-as-liquid-democracy-for-blockchain"><strong>genuine Proof-of-Reputation algorithm</strong>, suggested by us in 2017</a> and developed by <a href="https://blog.singularitynet.io/singularitynet-moves-toward-social-computing-with-proof-of-reputation-14df7c6618f">SingulariytNET during 2018</a> and later in <a href="https://arxiv.org/abs/1905.08036">2019</a> is radically different from <a href="https://gochain.io/proof-of-reputation/"><strong>surrogate Proof-of-Reputation</strong></a>, based on “external” parameters that are not related to the dynamics of transactions in the distributed system itself, and is essentially a camouflaged version of Proof-of-Authority.</p><p>An experimental version of the “weighted liquid rank” (“liquid reputation”) algorithm has been successfully tested in the <a href="https://github.com/singnet/reputation">SingularityNET</a> project and implemented by the <a href="https://github.com/aigents/aigents-java">Aigents</a> platform and is <strong>awaiting its implementation and deployment as a full Proof-of-Reputation consensus in the “distributed ledger” systems and blockchains of the future!</strong></p><p>In the meantime, let’s try the “weighted liquid rank” algorithm for the <a href="https://blog.singularitynet.io/reputation-system-in-aigents-supporting-telegram-groups-and-more-c43f0cf5053d">Telegram</a> messenger, <a href="https://blog.singularitynet.io/computing-reputation-for-discourse-users-with-aigents-25b806277e74">Discourse</a> forums, and blockchains such as <a href="https://blog.singularitynet.io/graphs-part-3-aigents-graph-analysis-for-blockchains-and-social-networks-142fc8182389">Steemit, Etherum, and Golos</a>!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b754abfc9b3b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chat With Your Data Using Aigents® Bots]]></title>
            <link>https://medium.com/singularitynet/chat-with-your-data-using-aigents-bots-99b76cae65f2?source=rss-4bb7f4242834------2</link>
            <guid isPermaLink="false">https://medium.com/p/99b76cae65f2</guid>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[chatbot-development]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[semantics]]></category>
            <category><![CDATA[search]]></category>
            <dc:creator><![CDATA[Aigents with Anton Kolonin]]></dc:creator>
            <pubDate>Tue, 08 Sep 2020 12:51:56 GMT</pubDate>
            <atom:updated>2020-09-08T12:51:56.032Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LIRiIcZ3hcD5_uDy4nL86w.jpeg" /></figure><p><em>Most of the chatbots available on the market typically fall under one of the three categories: 1) “Small talk chatbots” pre-trained on massive dialogue data and capable to simulate social kind of pointless conversation; 2) “Personal Assistants” manually hardcoded to perform a variety of pre-programmed activities; 3) “Dialog-flow based” chatbots executing conversational templates manually engineered by people to solve specific problems. Here we offer another possibility — let the bot consume your data and start talking about this data to you and your customers immediately.</em></p><p>The Aigents® Personal Artificial Intelligence platform already provides chatbot capabilities such as <a href="https://medium.com/@aigents/welcome-aigents-bots-d6682968f486">conversational intelligence based on dialogue templates</a>, <a href="https://medium.com/@aigents/custom-web-search-with-aigents-eb50767fc44c">custom Web search</a>, <a href="https://blog.singularitynet.io/aigents-sentiment-detection-personal-and-social-relevant-news-be989d73b381">sentiment analysis</a>, <a href="https://medium.com/@aigents/aigents-on-messengers-monitoring-and-searching-web-sites-and-group-chats-f5d585e0355e">monitoring the Web and group chats</a>, and <a href="https://blog.singularitynet.io/reputation-system-in-aigents-supporting-telegram-groups-and-more-c43f0cf5053d">computation of reputation in communities</a>. The <a href="https://github.com/aigents/aigents-java/releases/tag/3.0.7">Aigents release 3.0.7</a> couples <strong>semantic graph search technology</strong> with the <strong>concept of controlled language</strong> under the <strong>chatbot interface</strong>. It enables a chatbot user to <strong>navigate through the existing data finding objects of interest just using chatting</strong> with the Aigents bot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fn_N-05m6IEVxwkG5Zb92g.png" /><figcaption>Example of chatting with <a href="https://web.telegram.org/#/im?p=@AigentsBot">@AigentsBot on Telegram</a>, first loading tabular data into the knowledge graph and next searching the data using semantic graph search in the chatbot interface.</figcaption></figure><p>The use cases are any wherever one needs to expose the data to personnel of a customer base or a wider audience so the elements of the knowledge may be searched and found by the searchers precisely, quickly, and interactively. It could location of a good in a store or a departure gate in the airport or a book in the library or a person in an enterprise or a specific service company office in the office building or a support case in the CRM database — anything with multiple attributed data items like stored in SQL database and can be dumped to a tab-separated or a comma-separated file.</p><p>The newest technology involves few steps, each of them quite simple on itself, all coupled under the Aigents® Personal Artificial Intelligence platform architecture.</p><ol><li>A dedicated Aigents server is hosted in the cloud or corporate server or a personal desktop, following the respective <a href="https://github.com/aigents/aigents-java/tree/master/doc">documentation pages</a>. Note that even an Android smartphone or tablet can be used for the purpose in case if you want it to be available on Telegram only.</li><li>The schema of the data is defined using a <a href="https://arxiv.org/abs/2005.09280">controlled language</a>, like saying “<em>there name restaurant, trust true, has address, city, country, province</em>” in <strong>Aigents Language</strong> requests the creation of an abstract <strong>thing</strong> called <em>restaurant </em>with attributes<em> </em>called<em> address, city, country, province.</em> The extra <em>trust true </em>clause makes the statement trusted by the admin user so the thing is not forgotten by garbage collection eventually. Each such abstract thing can be thought of as a class in terms of object-oriented programming or a table in terms of the SQL database. Note that there is a <em>name</em> attribute implied for every “<strong>thing</strong>”, so there is no need to define it explicitly.</li><li>The data is loaded by the <em>load</em> command such as the data about the fast-food restaurants in the US available from the <a href="https://www.kaggle.com/datafiniti/fast-food-restaurants">Kaggle Datafinity</a> project under <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">non-commercial license</a> may be downloaded as “<em>load file </em><a href="http://aigents.com/download/data/us-restraunt-data.csv"><em>http://aigents.com/download/data/us-restraunt-data.csv</em></a><em> as restaurant</em>”. The command uploads the data to the internal <strong>semantic graph</strong> (<strong>knowledge graph</strong> in modern language) being executed by your Aigents server.</li><li>You ask any questions referring to any attributes of your data to the Aigents bot using either <a href="https://web.telegram.org/#/im?p=@AigentsBot">Telegram chatbot</a>, or <a href="https://www.messenger.com/t/aigents">Facebook Messenger chatbot</a>, or <a href="https://aigents.com/">Web chatbot</a> as you have deployed and <a href="https://github.com/aigents/aigents-java/blob/master/doc/aigents_integration_chat_bots.md">configured them</a>. The Aigents module called <a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/peer/Finder.java">Finder</a> implementing the <a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/peer/Intenter.java">Intenter</a> interface in the Aigents architecture keeps the context of your interaction context against the vector space of your data items in the dimensions of its attributes and figures out the right answers to ask you, so your chat-based search leads you to the target of your exploration as soon as possible.</li></ol><p>All of the above can be tried using <a href="https://web.telegram.org/#/im?p=@AigentsBot">@AigentsBot on Telegram</a>, <a href="https://www.messenger.com/t/aigents">Aigents bot on Facebook Messenger</a>, and <a href="https://aigents.com/">Aigents Web Chat</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FmDeMcP7WwWQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DmDeMcP7WwWQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FmDeMcP7WwWQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/1a1217b38357e703069b61d992d616cc/href">https://medium.com/media/1a1217b38357e703069b61d992d616cc/href</a></iframe><p><strong>Caveat</strong>: We don’t recommend to to use <a href="https://aigents.com/">https://aigents.com/</a> to load your own data unless you are doing it under commercial subscription. The data uploaded under free subscription may be removed by garbage collection policy or because of the server administration reasons.</p><p><strong>Encouragement: </strong>To run your own Aigents but serving your own data, deploy your own Aigents server on your own premises or subscribe to commercial service on <a href="https://aigents.com/">https://aigents.com/</a>. In the former case, you will have your own chatbot serving your data under your own branding and your proprietary chatbots across the messengers. In the latter case, your data will be served by <a href="https://web.telegram.org/#/im?p=@AigentsBot">@AigentsBot on Telegram</a>, <a href="https://www.messenger.com/t/aigents">Aigents bot on Facebook Messenger</a>, and <a href="https://aigents.com/">Aigents Web Chat</a>.</p><p><strong>Important</strong>: The functionality above is provided by the extensible Aigents Conversationer/Responser/Intenter architecture, featuring <a href="https://arxiv.org/abs/2005.09280">controlled language</a>, <a href="https://medium.com/@aigents/welcome-aigents-bots-d6682968f486">conversational intelligence based on dialogue templates</a>, <a href="https://medium.com/@aigents/custom-web-search-with-aigents-eb50767fc44c">custom Web search</a>, <a href="https://blog.singularitynet.io/aigents-sentiment-detection-personal-and-social-relevant-news-be989d73b381">sentiment analysis</a>, <a href="https://medium.com/@aigents/aigents-on-messengers-monitoring-and-searching-web-sites-and-group-chats-f5d585e0355e">monitoring the Web and group chats</a>, <a href="https://blog.singularitynet.io/reputation-system-in-aigents-supporting-telegram-groups-and-more-c43f0cf5053d">computation of reputation in communities</a>, and now the <strong>semantic graph search in a chatbot</strong>. Future extensions to the architecture are coming, including better support for <a href="https://blog.singularitynet.io/an-understandable-language-processing-3848f7560271">understandable natural language processing</a>. We welcome partners and contributors to add their own extensions to the platform.</p><p><strong>Feedback may be directed to the following channels:</strong></p><ul><li><a href="https://github.com/aigents/">Aigents</a></li><li><a href="https://www.youtube.com/aigents">Aigents</a></li><li><a href="https://www.facebook.com/aigents">Aigents</a></li><li><a href="https://reddit.com/r/aigents">r/aigents</a></li><li><a href="https://t.me/aigents">Aigents</a></li></ul><p><a href="https://twitter.com/aigents">https://twitter.com/aigents</a></p><p><a href="https://steemit.com/@aigents">https://steemit.com/@aigents</a></p><h3>Join Us</h3><p>We thank each and everyone one of our community members for their continuous support. SingularityNET plans to reinforce and expand its collaborations to shape the coming AI Singularity into a positive one, for all. To read more about our other partners, click <a href="https://blog.singularitynet.io/partners/home">here</a>.</p><p>SingularityNET has a passionate and talented community which you can connect with by visiting our <a href="https://community.singularitynet.io/">Community Forum</a>. For any additional information, please refer to our <a href="https://blog.singularitynet.io/singularitynet-releases-updated-roadmaps-d4aa2c0d7bc7">roadmaps</a> and<a href="http://singularitynet.io/"> subscribe to our newsletter</a> to stay informed about all of our developments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QaYXMdJZnSo7awY1.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=99b76cae65f2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/singularitynet/chat-with-your-data-using-aigents-bots-99b76cae65f2">Chat With Your Data Using Aigents® Bots</a> was originally published in <a href="https://medium.com/singularitynet">SingularityNET</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Welcome Aigents’ Bots]]></title>
            <link>https://aigents.medium.com/welcome-aigents-bots-d6682968f486?source=rss-4bb7f4242834------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6682968f486</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[conversational-ai]]></category>
            <category><![CDATA[chatbot-development]]></category>
            <category><![CDATA[chatbots]]></category>
            <dc:creator><![CDATA[Aigents with Anton Kolonin]]></dc:creator>
            <pubDate>Mon, 27 Jul 2020 15:02:26 GMT</pubDate>
            <atom:updated>2020-09-20T17:06:05.173Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Any Aigents</em><strong>®</strong><em> bot can speak “controlled language”, called </em><a href="https://arxiv.org/abs/2005.09280"><em>Aigents Language</em></a><em>. It can be used to pose any directives to the Aigents engine, enter the new knowledge in forms of semantic relationships of query for that knowledge from the internal graph database. However, the “controlled “language” appears not expressive enough for novel users to perform simple searches against the data contained in the Aigents Core or maintain friendly and practical conversations with Aigents Engine. The </em><a href="https://github.com/aigents/aigents-java/releases/tag/3.0.0"><em>Aigents Platform Core release 3.0.0</em></a><em> changes this, so the conversational interface supports free-text queries as well as extensible pattern-based conversation templates. Both kinds of interactions are supplied with emotional feedback and all of that is accompanying “classic controlled language” chat style.</em></p><p>Below we describe how to construct the Aigents<strong>®</strong> bot of your own to maintain conversations based on interactively defined templates, involving implicit and explicit search operations — all supplied with emotional feedback.</p><h3>Setting up</h3><p>You need your own Aigents Node running to get your proprietary Aigents’s bot. You can run it as a Server command-line (in the cloud or on the workstation), Desktop GUI application, or Mobile Android application on any smartphone or tablet. In any of these cases, you can either use a pre-built binary release or build it from open source yourself with your own customization. Here are the resources that you may need.</p><ul><li><a href="http://aigents.com/download/latest/">Aigents Core binaries</a> for <strong>Server</strong> command-line and <strong>Desktop</strong> GUI with <a href="http://aigents.com/download/latest/readme.html">configuration instructions</a>;</li><li><a href="https://github.com/aigents/aigents-java">Aigents Core sources</a> for <strong>Server</strong> command-line and <strong>Desktop</strong> GUI with <a href="https://github.com/aigents/aigents-java/blob/master/README.md">build instructions</a>;</li><li>Aigents <strong>Mobile</strong> Android <a href="https://play.google.com/store/apps/details?id=net.webstructor.android.free">installable application</a>;</li><li>Aigents <strong>Mobile</strong> Android <a href="https://github.com/aigents/aigents-android">sources</a> and <a href="https://github.com/aigents/aigents-android-graddle">build environment setup</a>.</li></ul><h3>Making your bot accessible</h3><p>You can make your bot accessible by others on either on your Web site or using any messenger platform with bot integration API such as the following.</p><p><strong>Web site: </strong>You can run your Web site such as <a href="https://aigents.com/">https://aigents.com</a> re-using or replacing the current <a href="https://github.com/aigents/aigents-web">Aigents Demo Web UI</a>. You can re-use only the small part of the Web UI such as “Chat” view supporting interactions with the Aigents Node, relying on the authentication flow based on <em>email, secret question,</em> and <em>secret answer</em>. Either Server or Desktop edition can be used to serve the Aigents Node.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i7FSq3oWP2nv4kpLpXiQpQ.png" /><figcaption>Aigents Free Chat working on <a href="https://aigents.com/">Aigents Web Demo</a> site in the “Chat” view. Most of the replies above are based on interactively pre-configured “Aigents patterns” while the two replies on “What is artificial intelligence?” and “Are humans intelligent?” are provided by implicit search, so if no matching conversation patterns are found to provide a response, the search is done and the most relevant text snippet with a Web link is returned as a reply.</figcaption></figure><p><strong>Telegram: </strong>You can configure your Telegram bot, no matter if your Aigents Node is a Server, Desktop, or even Mobile. Yes! You can run your Aigents bot on your smartphone or a tablet without the need of any server or desktop resources allocated at all. You need to use <a href="https://t.me/botfather">Telegram BotFather bot</a> on Telegram to register your bot name and get token for it and then set up the bot name and token in chat session of your Aigents Node in the Server or Desktop “Chat” view. You need to use <em>telegram name</em> and <em>telegram token </em>properties for that, like it is shown on the following figure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9_TTrJD_f2Z_lDj7ArYzLA.png" /><figcaption>Getting <strong>telegram token</strong> from <a href="https://t.me/botfather">Telegram BotFather bot</a> (on the right) and configuring <strong><em>telegram name</em></strong> and <strong><em>telegram token</em></strong><em> via Aigents Web UI (on the left) — replace the </em><strong><em>AigentsBot</em></strong><em> with your unique bot name and replace 99…9999 with the token supplied by the BotFather.</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JljW7RSCKKxFEOW8SbHD3w.png" /><figcaption>Configuring <strong>telegram name</strong> for the bot via <a href="https://t.me/botfather">Telegram BotFather bot</a> (on the right) and configuring <strong><em>telegram name</em></strong> and <strong><em>telegram token</em></strong><em> via Aigents Desktop GUI (on the left) — replace the </em><strong><em>MyFirstAigentsBot</em></strong><em> with your unique bot name and replace 99…9999 with the token supplied by the BotFather.</em></figcaption></figure><p><strong>Facebook and Slack: </strong>You can similarly configure the Aigents bot for Facebook Messenger and Slack, however, the process involves multiple cumbersome steps registering development account with Facebook and Slack, associating it with your business entity, applying for permissions, etc. If you are done with all that, get in touch with us at <a href="https://t.me/aigents">https://t.me/aigents</a> or <a href="https://www.facebook.com/aigents">https://www.facebook.com/aigents</a> and we will give you further directions.</p><p><strong>Whatsapp, WeChat, Viber, TikTok, Vkontakte, etc.: </strong>As long as these services provide programmable API-s, they can be supported as a plugins implementing subclasses of either <a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/comm/Communicator.java">Communicator</a> of <a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/comm/Mediator.java">Mediator</a> class of the Aigents Core Platform.</p><h3>Accessing the bot</h3><p>The bot needs user’s identities to be recognized so it requires authentication. The authentication requires the registration of a user by email, name, and surname which should be collected under the terms like GDPR. For instance, the Aigents Web Demo site provides the appropriate <a href="https://aigents.com/en/license.html">Privacy Policy</a> which can be reused as a template for your own Aigents Node and the bot.</p><p>In the future, we may remove the need for email for the users logged in via messengers like Telegram or Facebook Messenger but currently, we collect emails as unique keys of user identities. That means, you can have your users registered with fake emails, names, and surnames as long as they are unique.</p><p>Besides the email, name, and surname, registration requires a <em>secret question</em> (which can be thought as a password where the word “password” can be made more collaborative like “your dog name plus your license number”) and a <em>secret answer </em>to that question (which can be thought as a password value itself like “buddy+ET12345”).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5mTFfp64yT-d8wl8Jij10w.png" /><figcaption>Registering with Aigents Telegram bot called <strong>Webstructor</strong> via Telegram (on the left) and then performing login to the same Aigents Node via Web UI (on the right).</figcaption></figure><p>You and your users can access any Aigenst bot in a Telegram group if the bot is added to the group by group Admin, like the <a href="https://web.telegram.org/#/im?p=@AigentsBot">AigentsBot</a> is added to the <a href="https://t.me/aigents">Aigents community group</a> on Telegram. You can address the bot either replying to its earlier message in the group, or mentioning the bot in your request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R3CGhb17tSN_5NValf_Uxg.png" /><figcaption>Addressing the Aigents Telegram bot (<a href="https://web.telegram.org/#/im?p=@AigentsBot">AigentsBot</a> in the <a href="https://t.me/aigents">Aigents community group</a> for example) my mentioning bot in the first message and replying to it in the second and third messages.</figcaption></figure><h3>Teaching to talk</h3><p>The pattern-based conversation needs teaching the Aigents Node how to respond to specific conversational patterns. This is done by creating pattern-response objects with multiple <strong>patterns</strong> and multiple <strong>responses</strong>. To have the pattern-response objects stored persistently across user sessions and re-used by multiple users, they need to have a <strong>trust</strong> relationship associating them with at least one user, typically — the user who creates such an object. The pattern-response objects that are not “trusted” by anyone, are periodically getting forgotten by the “garbage collector” process.</p><p>For instance, if you want your bot to reply to sentences containing “how are you” and “what’s up” with responses such as either “I am fine” or “Just great”, you just need to spell out the “controlled language” sentence having the two former phrases entered as “<strong><em>patterns</em>” </strong>property, two latter phrases entered as “<strong><em>responses</em></strong>” property and the “<strong><em>trust</em></strong>” property set to <em>true</em>, like in the following example.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hZ38G1nfMph0L731LC_m3g.png" /><figcaption>Example of the chat session with the same Aigents bot living on <a href="https://aigents.com/">https://aigents.com</a> accessed on Telegram as <a href="https://web.telegram.org/#/im?p=@AigentsBot">@AigentsBot</a> (on the left) and Facebook Messenger as <a href="http://m.me/aigents">Aigents</a> (on the right), where the bot is being posed quests and explained how to handle them at the same time.</figcaption></figure><p>The example above presents the dialog flow involving both questions, responses, and directives explaining what are the expected responses for corresponding patterns, with the following order and comments.</p><ul><li><strong>Human:</strong> What is intelligence? <em>(Human asks question)</em></li><li><strong>Bot:</strong> Trump reportedly called johnson earlier this year to discuss the matter, and at least one member of congress said the us was reconsidering its intelligence partnership with the uk. <a href="https://www.theverge.com/2020/5/23/21268397/uk-phase-out-huawei-boris-johnson-trump-5g">https://www.theverge.com/2020/5/23/21268397/uk-phase-out-huawei-boris-johnson-trump-5g</a> 😊<em>(Bot fails to find a corresponding pattern and replies with simplistic search to its internal knowledge base, plus provides emotional feedback based on content)</em></li><li><strong>Human:</strong> I mean human intelligence <em>(Human keeps asking)</em></li><li><strong>Bot:</strong> The vaccine in this trial uses a weakened human common cold virus ( adenovirus, which infects human cells readily but is incapable of causing disease ) to deliver genetic material that codes for the sars-cov-2 spike protein to the cells. These cells then produce the spike protein, and travel to the lymph nodes where the immune system creates antibodies that will recognize that spike protein and fight off the coronavirus.. Advertisement. 508 participants took part in the trial of the new vaccine. Of these, 253 received a high dose of the vaccine ( at 1*1011 viral particles/1.0ml ), 129 received a low dose ( at 5*1010 viral particl… <em>(Bot keeps failing to find a corresponding pattern and replies with simplistic search to its internal knowledge base)</em></li><li><strong>Human:</strong> there patterns ‘{[what is] [meaning of]} intelligence’, responses ‘By intelligence I mean general intelligence as an ability to reach complex goals in complex environments using limited resources’, trust true. <em>(Human tells which patterns correspond to which responses)</em></li><li><strong>Bot:</strong> Ok. <em>(Bot acknowledges)</em></li><li><strong>Human</strong>: there patterns ‘human intelligence’, responses ‘human-level intelligence is subclass of general intelligence corresponding to the complexity and diversity of goals, environments and resources of human species’, trust true. <em>(Human keeps telling which patterns correspond to which responses)</em></li><li><strong>Bot:</strong> Ok. <em>(Bot acknowledges)</em></li><li><strong>Human:</strong> what is the meaning of intelligence? <em>(Human asks again)</em></li><li><strong>Bot:</strong> By intelligence I mean general intelligence as an ability to reach complex goals in complex environments using limited resources. 😊 <em>(Bot answers correctly, plus provides emotional feedback based on content)</em></li><li><strong>Human:</strong> What about human intelligence? <em>(Human asks again)</em></li><li><strong>Bot: </strong>Human-level intelligence is subclass of general intelligence corresponding to the complexity and diversity of goals, environments and resources of human species. 😊 <em>(Bot answers correctly with emotional feedback)</em></li><li><strong>Human:</strong> There patterns ‘stupid’, ‘idiot’, ‘dumb’, responses ‘I am sad to hear that’, ‘I am upset hearing this’, trust true. <em>(Human keeps telling which patterns correspond to which responses)</em></li><li><strong>Bot:</strong> Ok. <em>(Bot acknowledges)</em></li><li><strong>Human: </strong>You are stupid! <em>(Human says something bad)</em></li><li><strong>Bot: </strong>I am sad to hear that. 😞<em>(Bot answers correctly with emotional feedback)</em></li></ul><p>The patterns and responses are in the statements above should be directed in plain single or double quotes (like when you are using a simple plain text editor). Both patterns or responses may have multiple elements separated by commas. The <strong>patterns</strong> are canonical <a href="https://medium.com/@aigents/aigents-news-monitoring-tips-and-tricks-ab8d2ede2fa5"><strong>Aigents patterns</strong> such as ones used for topic configuration for news monitoring</a>, including disjunctive sets or lemmas, ordered patterns, standard <a href="https://en.wikipedia.org/wiki/Regular_expression">regular expressions</a>, and constrained variables.</p><p><strong><em>NOTE: </em></strong><em>The subsequent releases will use </em><strong><em>Aigents patterns</em></strong><em> supported in </em><strong><em>responses</em></strong><em> as well, having the variables filled in based on the current conversational context.</em></p><h3>Searching by chat</h3><p>As has been shown in the previous section, when a bot can’t find a pattern to get a response, it falls back to doing so-called “implicit search” and returns whatever it finds in its memory base on the texts it finds itself during the conventional <a href="https://medium.com/@aigents/aigents-news-monitoring-tips-and-tricks-ab8d2ede2fa5">news monitoring</a>, or, in case of commercially subscribed user account, referring to “<a href="https://medium.com/@aigents/custom-web-search-with-aigents-eb50767fc44c">custom search</a>” via <a href="https://developers.google.com/custom-search">Google Custom Search API</a>, <a href="https://serpapi.com/">Serp API</a> or <a href="https://www.gigablast.com/">Gigablast Search</a>.</p><p>As it has been announced in the <a href="https://medium.com/@aigents/custom-web-search-with-aigents-eb50767fc44c">previous publication</a>, users can get search results using an explicit “<strong>search”</strong> directive.</p><p>At the same time, if a request or a statement made by a user in a chat is not recognized as a “controlled language” statement and there is no matching pattern found to provide a response, the entered text is used to perform an implicit search as it was requested explicitly and then the most corresponding excerpt is extracted from the found text with applicable Web link.</p><h3>Adding emotions</h3><p>Both kinds of chat — the one based on known pattern-response objects and the other one based on implicit search are accompanied <a href="https://blog.singularitynet.io/aigents-sentiment-detection-personal-and-social-relevant-news-be989d73b381">sentiment detection</a>. That means the sentiment provided with positive 😊 and negative 😞 emoji is evaluated both in user input and the bot output and presented to the user along with the reply from the bot.</p><p>You can have control over the sentiment detection providing custom positive and negative lexicon files deployed along with the server, called <a href="https://github.com/aigents/aigents-java">lexicon_negative_english.txt, lexicon_positive_english.txt, lexicon_negative_russian.txt, lexicon_positive_russian.txt</a>. One can contribute to these files in GitHub, or customize them for their purposes or contribute respective files for the other languages, bearing in mind that adding more languages needs minor extensions in <a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/data/LangPack.java">LangPack</a> module of Aigents — adding a respective entry in the language registry.</p><h3>Gory Details</h3><p>The magic of the Aigents chat is now under complete control and can be customized. One can use existing implementations of the <a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/peer/Intenter.java"><em>Intenter</em></a> interface such as the following default ones.</p><ul><li><a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/peer/Responser.java"><em>Responser</em></a> — default intent handler taking care of multiple directives including registration and authentication flow and framing the other dependant intent handlers below;</li><li><a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/peer/Searcher.java"><em>Searcher</em></a> — serving explicit custom search;</li><li><a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/peer/ControlledResponser.java"><em>ControlledResponser</em></a> — serving “controlled language” handling processing queries in <a href="https://arxiv.org/abs/2005.09280">Aigents Language</a>;</li><li><a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/peer/PatternResponser.java"><em>PatternResponser</em></a> — matching known patterns and returning replies to them as it has been presented above;</li><li><a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/peer/Answerer.java"><em>Answerer</em></a> — falling back in case if no patterns are matched — executing implicit custom search.</li></ul><p>The order of applying the intent handlers above is defined by <em>getRepsonser</em> method of <a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/agent/Body.java"><em>Body</em></a><em> </em>and then <em>getIntenters</em> method of respective <a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/peer/Responser.java"><em>Responser</em></a><em> </em>class or its subclass — see <a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/agent/Demo.java"><em>Demo</em></a> class showing how to do that with your own <em>Responser</em> and/or <em>Intenters </em>or custom order of the latter ones.</p><h3>What’s Next</h3><p>The next thing you can do is to <a href="https://aigents.com/en/welcome.html"><strong>try Aigents yourself</strong></a> and provide us with your feedback in our communities such as <a href="https://t.me/aigents">https://t.me/aigents</a> and <a href="https://www.facebook.com/aigents">https://www.facebook.com/aigents</a>.</p><p>The next improvements that we are going to do in addition to your feedback are:</p><ul><li>contextual disambiguation of responses so given multiple responses may be returned the most relevant is selected based on the context of the current conversation;</li><li>contextual completion of responses, having patterns in responses with disjunctive sets and variables filled based on the context of the current conversation;</li><li>mining patterns in conversation histories so the past interactions of the bot with its users are used to infer pattern-response objects used in the subsequent conversations;</li><li>experiential learning and <a href="https://arxiv.org/abs/1807.02072">causal inference</a> on the chains of pattern-response histories to find the most successful combinations leading to maximum positive emotional feedback.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*ByEjTQcBvaSHDjCIdVOqZw.png" /><figcaption><a href="https://aigents.com/en/welcome.html">Welcome to Aigents®!</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6682968f486" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Custom Web Search with Aigents]]></title>
            <link>https://aigents.medium.com/custom-web-search-with-aigents-eb50767fc44c?source=rss-4bb7f4242834------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb50767fc44c</guid>
            <category><![CDATA[personal-assistant]]></category>
            <category><![CDATA[search]]></category>
            <category><![CDATA[online-news-monitoring]]></category>
            <category><![CDATA[web-search-engine]]></category>
            <category><![CDATA[news-aggregator]]></category>
            <dc:creator><![CDATA[Aigents with Anton Kolonin]]></dc:creator>
            <pubDate>Wed, 17 Jun 2020 17:55:07 GMT</pubDate>
            <atom:updated>2020-06-17T17:55:07.687Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Since the inception of the </em><a href="https://aigents.com/"><em>Aigents®</em></a><em> project, the scope of the Webspace available for the Aigents user was narrowed down to the list of sites the user configures for their account themselves or have extracted by the Aigents engine from histories of user interactions. Now it changes and the full-blown large-scale Web search (</em><a href="https://en.wikipedia.org/wiki/Metasearch_engine"><em>meta-search</em></a><em>, in fact) and latent monitoring gets available.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MK8pbLu6c2AcD2qN0cRUQQ.png" /><figcaption>Aigents<em>® “meta-search report with category detection (clustering), sentiment analysis and graph visualization available at Aigents Web Demo site </em><a href="https://aigents.com/">https://aigents.com</a></figcaption></figure><h3><strong>What’s new?</strong></h3><p>The new features of the <a href="https://github.com/aigents/aigents-java/releases/tag/2.9.0">Aigents Core Platform Open Source release 2.9.0</a> are news monitoring with <strong>global Web search</strong> and integration of the <strong>custom Web search</strong> with <strong>sentiment analysis</strong>. These features are relying on commercial API-s, such as <a href="https://developers.google.com/custom-search/">Google Custom Search</a>, <a href="https://serpapi.com/">SerpApi</a> (the two already supported), and <a href="https://www.gigablast.com/">Gigablast</a> (to be supported in the future).</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FJErHhli0goQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DJErHhli0goQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FJErHhli0goQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e4de428101fe0528c11f9db870952b87/href">https://medium.com/media/e4de428101fe0528c11f9db870952b87/href</a></iframe><ul><li><strong>Global Web Search Monitoring</strong> means that once you have <a href="https://medium.com/@aigents/aigents-news-monitoring-tips-and-tricks-ab8d2ede2fa5">any “Topics” set up</a>, you do not necessarily need to set up the “Sites” so they are crawled by the Aigents. The Aigents will start monitoring the search results given the topics and create the news items right out of the search results, applying personal and social relevance assessment to them and <a href="https://blog.singularitynet.io/aigents-sentiment-detection-personal-and-social-relevant-news-be989d73b381">measuring sentiment</a>.</li><li><strong>Custom Web Search</strong> can be run in chat sessions either on the <a href="https://aigents.com/">Aigents Web Demo</a> site in the “Chat” view or using <a href="https://web.telegram.org/#/im?p=@AigentsBot">Telegram</a> and <a href="https://www.messenger.com/t/aigents">Facebook Messenger</a>. You can run the queries with multiple options (described below) with your text input and get the results in the same text or as a well-formed HTML reports with optional graphs.</li><li><strong>Sentiment Analysis </strong>has been <a href="https://blog.singularitynet.io/aigents-sentiment-detection-personal-and-social-relevant-news-be989d73b381">implemented earlier</a> for news monitoring, and now it applies to the results of the Custom Web Search as well, so the sentiment assessment can be done with respect to every finding returned by the search and with respect to categories discovered for these items.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7ShZy60DOdFRKCVGx50uLA.png" /><figcaption>Using Aigents bot in <a href="https://web.telegram.org/#/im?p=@AigentsBot">Telegram</a> and <a href="https://www.messenger.com/t/aigents">Facebook Messenger</a> to do the Custom Web Search interactively with results returned in either plain text or HTML report.</figcaption></figure><h3><strong>What are the magic spells?</strong></h3><p>Setting up the <strong>Global Web Search Monitoring</strong> is set up automatically once you have subscribed to the Aigents service with your support. At this point, even if no sites are configured under the “Sites” view, you will be getting the news feeds in the “News” view, having the news items extracted right from the search results checked periodically under the Aigents hood.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3G8Zv6X_W6LFY6WVqti_bQ.png" /><figcaption>Providing support to Aigents project enabling Global Web Search Monitoring is done with the “Subscription” menu option under the Aigents icon on the Aigents Web Demo <a href="https://aigents.com/">site</a>.</figcaption></figure><p>The Custom Web Search and Sentiment Analysts are freely available for every user, however, you still need to be subscribed for commercial service (see above) in order to do the search via commercial APIs (<a href="https://developers.google.com/custom-search/">Google Custom Search</a> and <a href="https://serpapi.com/">SerpApi</a>).</p><p>The minimum search command in an Aigents chat session is a “<em>search &lt;topic&gt;</em>” where the <em>&lt;topic&gt;</em> may be either a single word like <em>pizza</em> or a search query in single or double quotes like ’<em>large pizza</em>’ or ”<em>smart pizza</em>” (need plain quotes like on computer keyboard and not the fancy ones like used here in this Medium publication).</p><p>The search command may be extended with the following options. The options may be separated by commas or may not — see the video above for example.</p><ul><li><strong>search [topic]</strong> — topic pattern to search — as keyword or <a href="https://medium.com/@aigents/aigents-news-monitoring-tips-and-tricks-ab8d2ede2fa5">hierarchical pattern</a>. The topic pattern may contain “variables” which may be used as properties in the other options such as “graph” or “sort”.</li><li><strong>site [url]</strong> — URL to start the search from. If omitted, either the Aigents internal Web index is searched or commercial API is used (if the “engine” option is set and commercial subscription is present).</li><li><strong>timeout [number] </strong>— limits the number of seconds to wait for results in chat before going into background searching mode (default — 10). When the timeout expires, the “Working” reply is returned and the search keeps running in the background. If the new search is requested during the previous search execution, the “Busy” reply is returned. When the search is completed running in the background, the results are returned to user asynchronously.</li><li><strong>format [text|html|json|pdf|xlsx]</strong> — format of the results returned in a file, if not configured, then the results are returned in plain text (default — text, html — supported right now<em>,</em> json/pdf/xls/xlsx — not supported yet, will come in the next releases)</li><li><strong>cluster [text|&lt;property&gt;]</strong> — specifies the property if the finding which has to be used for clustering and automatic category detection, either “text” or any variable name across names of the variables in a topic pattern (default — “text”).</li><li><strong>sentiment</strong> — if set, requests automatic detection of either positive or negative sentiment of the texts found by search and representation of the sentiment with “emoji” like 😊 (“positive”)or 😞 (“negative”).</li><li><strong>graph [category|sentiment|&lt;property&gt;]</strong> — identifies the name of one of the properties to be used to build graphs of relationships, at least two properties have to be specified or single “category” one. If the “category” is set, the property “category” can be used and the category labels of the clusters are used for the value of the property for building graphs. If the “sentiment” is set, ether “positive” 😊 or “negative” 😞 graph vertices are used to render relationships with others.</li><li><strong>limit [number]</strong> — limits the maximum number of news items to return (default — 10).</li><li><strong>time [today|yesterday|YYYY-MM-DD]</strong> — latest time to start the search back in the past (default — today).</li><li><strong>novelty [new|all]</strong> — specifies if return only the new (“new”) findings or all (“all”) of them (default — “new”).</li><li><strong>scope [site|web]</strong> — specifies whether to search following the links under only the specified web site domain (“site”) or under the entire web (“web”) (default — “site”).</li><li><strong>range [number] </strong>— the “crawl range” limits the number of “hops” following links from page to page (default — 2).</li><li><strong>minutes [number]</strong> — limits the maximum number of minutes to spend on search in background (default — 1). When this time expires, the search terminates and returns just what has been found do far.</li><li><strong>period [days]</strong> — number of days to do the search back in the past in case if nothing is found for the day identified by time above (default — 3).</li><li><strong>sort [text|category|&lt;property&gt;]</strong> — name of the field used for sorting, can be “text”, “category” (if the format is “html”), or any variable name (default — text).</li><li><strong>order [asc|desc] </strong>— ascending or descending sorting order.</li><li><strong>mode — [smart|track|find]</strong> — whether to use the existing path if present only (track) or always explore new paths (find) or track first and go to find if nothing is found (default — smart). See more details on “pathfinding” and “pathtracking” logic on our <a href="https://medium.com/@aigents/aigents-news-monitoring-tips-and-tricks-ab8d2ede2fa5">earlier publication</a>.</li><li><strong>engine [any|all|google|serpapi|gigablast]</strong> — if set, specifies which of the commercial search APIs to use — any one of them, all of them, or specific one (the “gigablast” option is not supported at the moment). If not set, the internal Aigents index is searched.</li></ul><h3>What’s next?</h3><p>In one of the subsequent publications, we will tell how to use the Aigents Custom Web Search <a href="https://arxiv.org/pdf/1912.00180.pdf">architecture</a> to perform a targeted Deep Search with information extraction for specific topics of interest — this feature is still in active development and testing.</p><p>We are also considering to have a separate “Search” view in the Aigents Web Demo User Interface on <a href="https://aigents.com/">https://aigents.com/</a>, so the searches and analysis of the results could be done more interactively — instead of the HTML reports returned in the chat session. We need your feedback on this so <a href="http://aigents.com/en/welcome.html">try Aigents now and let us know what you think!</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*ByEjTQcBvaSHDjCIdVOqZw.png" /><figcaption><a href="http://aigents.com/en/welcome.html">http://aigents.com/en/welcome.html</a></figcaption></figure><h3><strong>Well, what’s about the money?</strong></h3><p>Since both the <strong>global Web search</strong> the <strong>custom Web search </strong>are relying on commercial APIs (<a href="https://developers.google.com/custom-search/">Google Custom Search</a> and <a href="https://serpapi.com/">SerpApi</a>), one needs to pay for a subscription for using these search API-s. Those who run their own instances of the Aigents platform can pay to the API providers directly. The users of the Aigents Web Demo site at <a href="https://aigents.com/">https://aigents.com</a> can just support the Aigents project via PayPal for this service.</p><p>However, supporting the Aigents project for using these features is only the one opportunity that one can take. You can earn money yourself hosting the Aigents service on your own hardware premises, setting up your own <a href="https://developers.google.com/custom-search/">Google Custom Search</a> and <a href="https://serpapi.com/">SerpApi</a> accounts to provide the service and your own <a href="https://www.paypal.com/">PayPal</a> account to get paid for that. Moreover, you can add your own value to the service setting up your own sites and topics for your audience and rendering it under your own user interface and brand. To get started, just deploy the <a href="https://github.com/aigents/aigents-java/tree/master/doc">Aigents server following the instructions</a> and deploy it on your hosting under your custom user interface referring to the <a href="https://github.com/aigents/aigents-web">original Aigents Web User Interface</a> as a reference.</p><p>But there is more that you can do…</p><h3><strong>How to help?</strong></h3><p>Since the Aigents® project is being developed under open-source MIT license terms, anyone is welcome to contribute to the ecosystem with new developments and extensions that we are expecting to come next, as follows.</p><ul><li><a href="https://github.com/aigents/aigents-java/issues/26">Aigents Web Client Plus for better User Interface experience</a></li><li><a href="https://github.com/aigents/aigents-java/issues/27">Aigents Chrome Plugin for seamless integration with Web browsing and transparent reinforcement learning</a></li><li><a href="https://github.com/aigents/aigents-java/issues/24">Aigents Self-Server App for Android with privacy and peer-to-peer capabilities</a></li><li><a href="https://github.com/aigents/aigents-java/issues/25">Aigents Lite Client App for Android with configurable/switch-able cloud storage</a></li><li><a href="https://github.com/aigents/aigents-web/tree/master/html/ui">Aigents Lite Client App for iPhone</a></li><li><a href="https://github.com/aigents/aigents-java/issues/29">Aigents Self-Server App for iPhone</a></li><li><a href="https://github.com/aigents/aigents-java/issues/30">Aigents Desktop Plus for Linux, Mac OSX and Windows</a></li><li><a href="https://github.com/aigents/aigents-java/issues/31">Aigents Cloud Storage with in-memory graph caching, temporal graphs and personal subgraphs</a></li></ul><p><em>All that said, </em><a href="http://aigents.com/en/welcome.html"><em>join Aigents now and let us know what you think!</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb50767fc44c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Aigents® Sentiment Detection- Personal and Social Relevant News]]></title>
            <link>https://medium.com/singularitynet/aigents-sentiment-detection-personal-and-social-relevant-news-be989d73b381?source=rss-4bb7f4242834------2</link>
            <guid isPermaLink="false">https://medium.com/p/be989d73b381</guid>
            <category><![CDATA[news-aggregator]]></category>
            <category><![CDATA[aigents]]></category>
            <category><![CDATA[sentimentos]]></category>
            <category><![CDATA[singularitynet]]></category>
            <category><![CDATA[news]]></category>
            <dc:creator><![CDATA[Aigents with Anton Kolonin]]></dc:creator>
            <pubDate>Wed, 20 May 2020 15:13:16 GMT</pubDate>
            <atom:updated>2020-05-20T15:13:16.163Z</atom:updated>
            <content:encoded><![CDATA[<h3>Aigents® Sentiment Detection for Personalised News Feeds</h3><h4>Sifting through a sea of information to bring you only relevant topics of interest.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vlquAxX0hC47MXEc144OLQ.jpeg" /></figure><p>In our <a href="https://medium.com/@aigents/create-news-hand-in-hand-with-robots-1eae4490ac12">last publication</a>, we described how Aigents<strong>®</strong> can be used to generate, extracted, and aggregated content from random <a href="https://blog.singularitynet.io/aigents-reddit-the-next-step-towards-heternet-2ce7ccc84247">raw news sources</a> such as arbitrary web pages, social media channels on Reddit, Telegram, and forums like Discourse as well as discussion groups on Telegram and Slack.</p><h3>What’s new?</h3><p>In the latest <a href="https://github.com/aigents/aigents-java/releases/tag/2.7.0">Aigents 2.7.0 release</a>, we have made programmatic sentiment assessment available for news topics. Positive or negative sentiment is identified per news item based on dictionaries of context-less sentiment-specific N-grams, where positive and negative sentiment values are inferred for every topic corresponding to specific news items.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FEWZ4lpAmY6c%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DEWZ4lpAmY6c&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FEWZ4lpAmY6c%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ff15fede3b211e64436fa15af746bbf4/href">https://medium.com/media/ff15fede3b211e64436fa15af746bbf4/href</a></iframe><p>The positive or negative sentiment assessment is based on dictionaries of words and phrases ‘N-grams’ that correspond to defined sentiment values. N-grams with higher N (i.e. greater number of words in a phrase) is considered with higher priority. That is, given a sentence “that is not bad”, if the phrase “not bad” is considered to identify positive sentiment, the single word “bad” can not be used to identify positive sentiment.</p><p>Currently, dictionaries are created for English and Russian languages. English ones are based on <a href="https://github.com/aesuli/SentiWordNet">SentiWordNet</a> and <a href="https://www.cs.uic.edu/~liub/FBS/sentiment-analysis.html#lexicon">Bing Liu</a>’s method, while Russian dictionaries are based on <a href="https://www.labinform.ru/pub/rusentilex/index.htm">РуСентиЛекс</a> and <a href="http://www.linis-crowd.org/">Linis Crowd</a>’s method.</p><p>Both positive and negative dictionaries are merged across sources and cleaned so the words and phrases are unique across every language. Moreover, the dictionaries are adjusted based on a preliminary one month testing of the sentiment assessment for worldwide political and business news as well as local news.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*10W_p1MVhQcjUOkwQseS4w.png" /><figcaption>Example of the <a href="https://aigents.com/">https://aigents.com/</a> news feed in “News” view showing “positive sentiment” as green bars and “negative sentiment” as red bars (blue bars are rendering “personal relevance”, beige bars — “social relevance”).</figcaption></figure><p>Sentiment Assessment occurs when a news item is published by the Aigents crawler in the “News” view of<a href="https://aigents.com/"> Aigents Web Demo site</a>. If the crawler delays in publishing an item, one may force assessment of sentiment by typing “you think!” in the chat view of the demo site.</p><p>Positive sentiment is represented as horizontal green bars and negative sentiment as horizontal red bars. Sentiment evaluation can be conducted by a single user for personalised results but can also be conducted by a wider number of users in a group to produce social results. As such there are also blue bars that represent personal relevance, and beige bars to measure overall social relevance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G-xpv5ptsfG-r3jyvzw7wQ.png" /><figcaption>Example of the <a href="https://aigents.com/">https://aigents.com/</a> topics sentiment assessment in “Topics” view showing “positive sentiment” as green bars and “negative sentiment” as red bars (blue bars are rendering “personal relevance”).</figcaption></figure><p>The overall sentiment assessment for all topics is done on the basis of aggregated positive and negative sentiments across the items relevant to the topic, given that some topics may have multiple news items with either positive or negative sentiment. Similarly to the ‘News view’, positive sentiment is rendered as green bars and negative as red bars. Each of the topics may have positive and negative components.</p><p>What is described above applies to the standard process of news mining executed by the <a href="https://github.com/aigents/aigents-java">Aigents Core</a>. Also, it is possible to get all sentiment details about any piece of text by calling the Aigents<strong>®</strong> engine using a chat session or over HTTP.</p><p>It is possible to make changes to the dictionary, you may, for example, want to change the term ‘clear sky and shining sun’ to ‘thunderstorm’, this can be requested using the <a href="https://arxiv.org/abs/2005.09280">Aigents Language (AL)</a> and respond in <a href="https://github.com/aigents/aigents-java/blob/master/doc/aigents_integration_news_channel.md">either AL text or JSON format</a>. For this example, the request would be stated as “<em>Classify sentiment text ‘inset text you want to reclassify’</em>”.</p><p>Aigents would then respond with both individual assessments of positive and negative sentiment estimations as well as the overall sentiment (which can be either positive or negative). A list of words and phrases contributing to the assessments is also created under the titles of ‘<strong>positives</strong>’ and ‘<strong>negatives</strong>’, respectively.</p><p>Additionally, any third-party service can use the<a href="https://steemit.com/ai/@aigents/aigents-power-server-for-personal-social-analytics-back-end"> Aigents Server</a> installation as an API for sentiment analysis. The details of sentiment evaluation can be found in the code of<a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/data/LangPack.java"> LangPack component of the Aigents Platform</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7r5O4TUPri05_YqgXetd3Q.png" /><figcaption>Example of requesting text sentiment analysis in “Chat” view on <a href="https://aigents.com/">https://aigents.com/</a> site with response returned in Aigents Language (AL) or JSON representation.</figcaption></figure><p>It should be made clear that the Aigents<strong>®</strong> platform is implementing an<a href="https://blog.singularitynet.io/an-understandable-language-processing-3848f7560271"> explainable language processing</a> approach, so no matter which AI/ML technology has been used to create a linguistic model, the inferred model used in production should be transparent for human understanding and validation. Respectively, the results of using a model such as sentiment assessment in our case should always be interpretable by a human user.</p><h3>What’s next?</h3><p>We are taking a continuous improvement approach to the development of the Aigents<strong>®</strong> platform and following the initial test phase, our results identified many areas that require attention to further enhance the platform.</p><p>The following is a breakdown of the improvements we are actively working on and which you will find in the subsequent releases of the Aigents<strong>®</strong> platform.</p><ul><li>The features (words and phrases or N-grams) contributing positive/negative sentiment should be weighted with the account to both A) statistical evidence of connectivity between them and respective sentiment perceptions and B) emotional and semantic relevance of the actual sentiment. We have not done this at the current stage, because only the<a href="https://github.com/aesuli/SentiWordNet"> SentiWordNet</a> has been found to contain weights and the other lexicons used to bootstrap our work had no weights provided at all.</li><li>The weightings above should be context-aware so that different topics may have different associations of features with the sentiment, like ‘cold’, may be associated with positive sentiment in drinks advertisement and negative sentiment in the medical domain.</li><li>The context of the weightings above could be temporal and depending on current news agenda and trending topics, while the words ‘virus’ and ‘pandemic’ have a negative connotation in broad and eternal contexts, during the current pandemic of COVID19 these would become rather a neutral part of the context itself.</li><li>Users should be able to provide custom user-specific lexicons (dictionaries of features), optionally extending or overriding default lexicons (like the only one in the current version) or even building hierarchies of custom lexicons inheriting/extending each other (based on user-specific “knowledge subgraphs”).</li><li>Users should be able to configure which of the sentiment features (like “positive”, “negative” and “overall sentiment” available now) they want to involve for the assessment of the news items and topics and the rules that affect the assessment.</li><li>The assessment of the sentiment in regard to particular topics should be context-specific sentiment based on topic location and its surroundings within a sentence. That is, the sentiment of “a <em>lot of tasty and nutritious food can lead to obesity symptoms</em>” could be positive from the perspective of the topic ‘<em>food</em>’ but negative from the perspective of the topic ‘<em>symptom</em>’.</li><li>Maximization of the sentiment assessment accuracy would require not only the account of spatial proximity between the words identifying topics and sentiment in a sentence but rather complete semantics understanding of the sentence structure, concepts identified by the words and phrases as well as entire hierarchy of semantic relationships between these concepts.</li><li>Sentiment analysis can be applied not only to the news items and topics but to the search and personal social reports as well — this will be the focus of our works in the next couple of months.</li><li>The dictionaries of features should be extendable by means of incremental machine learning based on interactions with Aigents users — their explicit (and maybe implicit) feedback in the course of interactive reinforcement learning, involving the latest advances in deep neural networks joined with explainable/interpretable AI/ML techniques.</li></ul><h3>What to do?</h3><p>For the time being, please help us by using the Aigents<strong>®</strong> platform and its brand new sentiment analysis, registering at <a href="https://aigents.com/">https://aigents.com/</a>. It would also help us tremendously to hear your feedback which can be directed to our channels on <a href="https://www.facebook.com/aigents">Facebook</a> and <a href="https://t.me/aigents">Telegram</a>. Also, feel free to leave us comments on <a href="https://medium.com/@aigents">Medium</a>, <a href="https://www.youtube.com/aigents">Youtube</a> and <a href="https://steemit.com/@aigents">Steemit</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U8daiOm6bi8FaJVLSHt5dg.png" /><figcaption><a href="https://aigents.com/">Join Aigents now</a></figcaption></figure><p>We encourage you to try to use and extend our current positive and negative lexicon files for English and Russian on <a href="https://github.com/aigents/aigents-java">Aigents GitHub</a> — pull requests are welcome in respect to the following:</p><ul><li><a href="https://github.com/aigents/aigents-java/blob/master/lexicon_positive_english.txt">https://github.com/aigents/aigents-java/blob/master/lexicon_positive_english.txt</a></li><li><a href="https://github.com/aigents/aigents-java/blob/master/lexicon_negative_english.txt">https://github.com/aigents/aigents-java/blob/master/lexicon_negative_english.txt</a></li><li><a href="https://github.com/aigents/aigents-java/blob/master/lexicon_positive_russian.txt">https://github.com/aigents/aigents-java/blob/master/lexicon_positive_russian.txt</a></li><li><a href="https://github.com/aigents/aigents-java/blob/master/lexicon_negative_russian.txt">https://github.com/aigents/aigents-java/blob/master/lexicon_negative_russian.txt</a></li></ul><p>Thank you for your continued interest and support, stay tuned for further developments on the Aigents<strong>® </strong><a href="https://blog.singularitynet.io/aigents-reddit-the-next-step-towards-heternet-2ce7ccc84247?source=collection_home---4------14-----------------------"><strong>Heternet</strong></a><strong>!</strong></p><h3>Join Us</h3><p>SingularityNET plans to reinforce and expand its collaborations to shape the coming AI Singularity into a positive one, for all. To read more about our other partners, click <a href="https://blog.singularitynet.io/partners/home">here</a>.</p><p>SingularityNET has a passionate and talented community which you can connect with by visiting our <a href="https://community.singularitynet.io/">Community Forum</a>. For any additional information, please refer to our <a href="https://blog.singularitynet.io/singularitynet-releases-updated-roadmaps-d4aa2c0d7bc7">roadmaps</a> and<a href="http://singularitynet.io/"> subscribe to our newsletter</a> to stay informed about all of our developments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EbapphGD3pjEygWF" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be989d73b381" width="1" height="1" alt=""><hr><p><a href="https://medium.com/singularitynet/aigents-sentiment-detection-personal-and-social-relevant-news-be989d73b381">Aigents® Sentiment Detection- Personal and Social Relevant News</a> was originally published in <a href="https://medium.com/singularitynet">SingularityNET</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reputation System in Aigents® supporting Telegram Groups and more]]></title>
            <link>https://medium.com/singularitynet/reputation-system-in-aigents-supporting-telegram-groups-and-more-c43f0cf5053d?source=rss-4bb7f4242834------2</link>
            <guid isPermaLink="false">https://medium.com/p/c43f0cf5053d</guid>
            <category><![CDATA[social-media]]></category>
            <category><![CDATA[reputation-management]]></category>
            <category><![CDATA[telegram]]></category>
            <category><![CDATA[social-graph]]></category>
            <category><![CDATA[graph-analytics]]></category>
            <dc:creator><![CDATA[Aigents with Anton Kolonin]]></dc:creator>
            <pubDate>Tue, 05 May 2020 20:12:09 GMT</pubDate>
            <atom:updated>2020-05-05T20:12:09.333Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bY3v8nFrwBEtV34NZEyQ6Q.jpeg" /></figure><p>The entire idea of <a href="https://steemit.com/blockchain/@aigents/proof-of-reputation-as-liquid-democracy-for-blockchain">proof-of-reputation for liquid democracy</a> was posed over 2 years ago in the <a href="https://aigents.com/">Aigents</a><strong>®</strong> project. The <a href="https://arxiv.org/pdf/1905.08036.pdf">weighted liquid rank algorithm</a> implementing this idea was designed last year, along with the reference implementation of <a href="https://blog.singularitynet.io/utilizing-singularitynets-reputation-system-to-prevent-scams-5c7da7020bc9">SingularityNET reputation system API</a>.</p><h3>What’s new now?</h3><p>The latest <a href="https://github.com/aigents/aigents-java/releases/tag/2.3.6">Aigents 2.3.6 release</a> brings it forward to the next level with the following options:</p><ol><li>Telegram Aigents Bot (such as <a href="https://web.telegram.org/#/im?p=@AigentsBot">@AigentsBot</a> hosted on <a href="https://aigents.com/">https://aigents.com</a>) can do Social Graph building based on the “reply” and “mention” interactions in the Telegram Groups, where the bot is added by group admins. Moreover, one can use existing AigentsBot or create such bot of their own, hosting in on their own premises, including public and private clouds, office or home servers and laptops <em>(and even Android tablets or smartphones which is being tested now)</em>.</li><li>Reputation and Social Graphs are included in Personal Social Reports available for registered Aigents users (as well as registered users of any custom installations of the Aigents platform) by the way of <a href="https://aigents.com/">Aigents Web UI</a>, <a href="https://web.telegram.org/#/im?p=@AigentsBot">Aigents Telegram bot</a> or <a href="https://www.messenger.com/t/aigents">Aigents Facebook Messenger bot</a>.</li><li>Reputation System daily maintenance is now done my Aigents Core service for social integrations such as Telegram, Discourse forums, Steemit, Golos and Ethereum blockchains.</li></ol><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FEbV-HwLwViY%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DEbV-HwLwViY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FEbV-HwLwViY%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/dc7fa5cde1b48d24853e60b4671aebe2/href">https://medium.com/media/dc7fa5cde1b48d24853e60b4671aebe2/href</a></iframe><h3>How to set the bot up?</h3><p>You have two options on how to set the Aigents bot for your Telegram groups — use existing <a href="https://web.telegram.org/#/im?p=@AigentsBot">@AigentsBot</a> or create your own one. For any of the bots, you just need to register yourself with it (providing your email, name, surname, secret question and secret answer) and then add the bot to the Telegram groups which you want to have analysed for social graphs and liquid reputation computation. If you are adding the bot to a group, you may want to check with the other group users if they are comfortable with that — see below the details on how the bot works.</p><p>If you want to create the Aigents bot of your own, just have the <a href="https://github.com/aigents/aigents-java/tree/master/doc">Aigents installation done</a> and set up the Telegram bot. To set up the bot, you need to use Telegram <a href="https://telegram.me/BotFather">BotFather</a> bot to create <strong>bot token</strong> and <strong>bot name</strong> for your bot. Then you just need to configure your Aigents installation saying “<em>your telegram token &lt;</em><strong><em>bot token</em></strong><em>&gt;</em>” and “<em>your telegram name &lt;</em><strong><em>bot name</em></strong><em>&gt;</em>” in Aigents chat console (same way as you would do the rest of Aigents setup).</p><h3>How to get involved?</h3><p>Once the bot is set up or you decide to use existing <a href="https://web.telegram.org/#/im?p=@AigentsBot">@AigentsBot</a>, you just need to register yourself with it, using the same email, name and surname that you use to register with Aigents Web UI (such as Aigents Web Demo on <a href="https://aigents.com/">https://aigents.com/</a>). You can use other emails, name and surname but then you won’t be able to get the full access to reports and graphs on the Web later, while you will still be able to get the reports in Telegram chat.</p><p>The typical communication flow is the following.</p><ol><li>Human: <em>login</em></li><li>Aigents: <em>What your email, name, surname?</em></li><li>Human: <em>aa.bb@yy.zz, aa, bb</em></li><li>Aigents: <em>What your secret question, secret answer?</em></li><li>Human: <em>hexadecimal code of my passport number, 12a34b5a2</em></li><li>Aigents: <em>What your hexadecimal code of my passport number?</em></li><li>Human: <em>12a34b5a2</em></li><li>Aigents: <em>Ok. Hello Aa Bb! My Aigents 2.3.6 Copyright © 2020 Anton Kolonin, Aigents®.</em></li></ol><p>Once you are done with the registration on the Telegram, you can interact with the bot in private chat or in any groups where the bot is already added by other group admins or yourself (if you are an admin of your own groups).</p><p>BTW, you can also do the same registration with Facebook Messenger, connecting it to existing <a href="https://www.messenger.com/t/aigents">Aigents bot</a> on it or the one that you create, so the control of your account may be done from any communication channel.</p><h3>How does it work?</h3><p>Once the Aigents bot is in the group it starts monitoring the interactions in a group with the following scenarios possible.</p><ol><li>If the bot is mentioned in the group or has its own message replied by a registered user, it replies to the same user in the group. Like if you ask the bot like “<em>@AigentsBot my telegram report</em>” then the report will be directed right to the group.</li><li>If the bot is mentioned in the group or has its own message replied by a non-registered user, the bot is creating private chat with the user starting the registration process as described above. After the registration is done, the user can keep communication with the bot in the private chat or on any group where the bot is present.</li><li>If there is a message from a user in the group, the user has the Telegram id and Telegram username logged in the transaction log so it can be looked up in the future.</li><li>If there is a mention of a reply from a user to a user, both users have the Telegram id and Telegram username logged in the graph database so the interaction can be used in computations.</li><li>If there is mention of a user by another user, the ids of both users are used to record the interaction in the graph database so the interaction can be used in computations.</li><li>On daily basis, the graph database is used to update the reputation state of every user which has the id recorder, according to the <a href="https://arxiv.org/pdf/1902.03857.pdf">weighted liquid rank algorithm</a>, implemented on basis of the <a href="https://arxiv.org/abs/1912.00176">Aigents temporal graph architecture</a>.</li><li>On any report request by any user, the graph database is looked up to create what we call <a href="https://medium.com/@aigents/social-graph-as-online-mirror-7d537e42941d">Personal Social Report</a> including ranked lists of computed <strong>best friends</strong>, <strong>fans</strong> and <strong>authorities</strong> as well as other charts such as <strong>karma by period</strong>. Besides these standard computations made for a close social environment of a user, the <strong>reputation in community</strong> chart is computed based on the entire scope of the interactions between users logged in the database — relying on the “weighted liquid rank” algorithm, and the chart is rendered (involving only the users appearing in the same groups with the Aigents bot and the user who requested the report). The computation weights the <strong>mentions</strong> and <strong>comments</strong> (replies) equally, weighting them by the logarithm of the number of characters in a text or mention or reply, so more verbose messages have a greater impact (<em>with no sentiment analysis taken into account so far</em>).</li><li>On any graph view request submitted by a user, respective social graphs are rendered relying on the same database, so the <a href="https://blog.singularitynet.io/graphs-part-3-aigents-graph-analysis-for-blockchains-and-social-networks-142fc8182389">interactive graph analysis</a> can be performed.</li></ol><p>For more details, refer to the open-source code of the <a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/comm/telegram/Telegram.java">Telegram</a> and <a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/comm/Telegrammer.java">Telegrammer</a> Java social integration modules as well as Reputation System implementation in the <a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/peer/Reputationer.java">Reputationer</a> module.</p><h3>How to get the results?</h3><p>For a registered Aigents user, getting the report is as simple as saying “<em>my telegram report</em>” in either Aigents Web UI (such as one on <a href="https://aigents.com/">https://aigents.com/</a>) or private chat with Aigents Bot on Telegram or Facebook Messenger. In Telegram groups, you can ask the report for shared use addressing the bot in reply or mention such as “<em>@AigentsBot my telegram report</em>” — and the report is rendered based on the default period of activity in your groups.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4gQiKxQqVaZP0PhgMMULbA.png" /><figcaption>Getting Aigents Telegram Reports in Aigents Web UI (left) and in Telegram chat (right)</figcaption></figure><p>If you want a report for a time period other than the default, you can explicitly request a number of days in the period saying “<em>my telegram report, period 30</em>” for a monthly report or “<em>my telegram report, period 92</em>” for a quarterly report.</p><p>The reports are pre-generated and cached on daily basis, so if you want to request a fresh report including latest activity in the current day, you can order it saying “<em>my telegram report, fresh</em>” or “<em>my telegram report, period 30, fresh</em>”. In such case, the report is started being re-generated (with a reply saying “<em>Your report is being prepared, please check back in few minutes…</em>”) and you may need to repeat the same request in about a minute without of the word “<em>fresh</em>”, like “<em>my telegram report</em>” or “<em>my telegram report, period 30</em>” in our example.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JjaRG6lAp5I21dK0wikq7w.png" /><figcaption>Aigents Telegram Graphs in the Aigents Web UI on <a href="https://aigents.com/">https://aigents.com</a> (left) or right in the body of the Aigents Personal Social Report (right)</figcaption></figure><p>Moreover, you will be able to view social graphs rendered in the “Graph” view on the Aigents Web UI or embedded right in the report.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8JEwmoZ79J-VtKU3Blb8HQ.png" /><figcaption>Invoking Aigents Graph Query against Social Graph mined from Telegram Groups</figcaption></figure><p>In addition to that, when viewing the “Graph” in the Aigents Web UI, the Graph Query may get executed by right mouse button click (on Windows) or double finger touch-pad click on Mac so you invoke “Setup” menu, fill in the graph query parameters and fo your network study as it has been <a href="https://blog.singularitynet.io/graphs-part-3-aigents-graph-analysis-for-blockchains-and-social-networks-142fc8182389">described earlier for blockchains and social networks</a>.</p><h3>What’s else?</h3><p>Everything above has been said mostly about the Telegram integration for Social Graphs and Reputation analysis. But that is not the full story! Same can be done for any <a href="https://blog.singularitynet.io/computing-reputation-for-discourse-users-with-aigents-25b806277e74">Discourse forum connected to Aigents</a> as well for <a href="https://blog.singularitynet.io/graphs-part-3-aigents-graph-analysis-for-blockchains-and-social-networks-142fc8182389">any of the blockchains supported by Aigents</a>, such as Etheruem, Steemit and Golos.id (Golos.in).</p><p>Each of the social integrations mentioned above has the Reputation System updated on a daily basis and have respective <a href="https://blog.singularitynet.io/utilizing-singularitynets-reputation-system-to-prevent-scams-5c7da7020bc9">“Weighted Liquid Rank” Reputation</a> updated on a daily basis for each of these.</p><p>That means that any of the reports obtained saying “<em>my steemit report</em>”, “<em>my ethereum report</em>” or “<em>my discourse report</em>” would include the <strong>reputation in the community</strong> section as well as interactive <strong>social graph</strong> part.</p><h3>What’s next?</h3><p>While we keep beta-testing, any questions, complaints, bug reports or feature requests are very welcome on our Aigents group on Telegram and <a href="https://www.facebook.com/aigents">Aigents on the Facebook</a> page.</p><p>Along the way with multiple core improvements and bug fixing, the next month we will be working on Twitter support to be added to the <a href="https://github.com/aigents/aigents-java">Aigents® open-source platform</a>.</p><p><em>Bookmark other Aigents pages:</em></p><p><a href="https://www.youtube.com/aigents"><em>https://www.youtube.com/aigents</em></a><em><br></em><a href="https://www.facebook.com/aigents"><em>https://www.facebook.com/aigents</em></a><em><br></em><a href="https://wt.social/wt/aigents"><em>https://wt.social/wt/aigents</em></a><em><br></em><a href="https://medium.com/@aigents"><em>https://medium.com/@aigents</em></a><em><br></em><a href="https://steemit.com/@aigents"><em>https://steemit.com/@aigents</em></a><em><br></em><a href="https://reddit.com/r/aigents"><em>https://reddit.com/r/aigents</em></a><em><br></em><a href="https://twitter.com/aigents"><em>https://twitter.com/aigents</em></a><em><br></em><a href="https://golos.in/@aigents"><em>https://golos.in/@aigents</em></a><em><br></em><a href="https://vk.com/aigents"><em>https://vk.com/aigents</em></a></p><h3>Join Us</h3><p>SingularityNET plans to reinforce and expand its collaborations to shape the coming AI Singularity into a positive one, for all. To read more about our recent news click <a href="https://blog.singularitynet.io/">here</a>.</p><p>And if you have an idea for AI tools or services you’d like to see appear on the platform, you can request them on the <a href="http://rfai.singularitynet.io/">Request for AI Portal</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*Xo1aGOBkdWmq_t0s" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c43f0cf5053d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/singularitynet/reputation-system-in-aigents-supporting-telegram-groups-and-more-c43f0cf5053d">Reputation System in Aigents® supporting Telegram Groups and more</a> was originally published in <a href="https://medium.com/singularitynet">SingularityNET</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Computing Reputation for Discourse users with Aigents]]></title>
            <link>https://medium.com/singularitynet/computing-reputation-for-discourse-users-with-aigents-25b806277e74?source=rss-4bb7f4242834------2</link>
            <guid isPermaLink="false">https://medium.com/p/25b806277e74</guid>
            <category><![CDATA[discourse]]></category>
            <category><![CDATA[reputation]]></category>
            <category><![CDATA[reputation-management]]></category>
            <category><![CDATA[reputation-monitoring]]></category>
            <category><![CDATA[forum]]></category>
            <dc:creator><![CDATA[Aigents with Anton Kolonin]]></dc:creator>
            <pubDate>Fri, 27 Mar 2020 17:21:47 GMT</pubDate>
            <atom:updated>2020-03-27T17:21:47.933Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Making Reputation Assessment with SingularityNET “</em><a href="https://arxiv.org/pdf/1905.08036.pdf"><em>Weighted Liquid Rank</em></a><em>” algorithm available for any Discourse forum community.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aVRAZ3RuqMQj6-i8B0iddw.jpeg" /></figure><p>In our previous two blog posts on this subject, we have discussed how to create and utilise <a href="https://blog.singularitynet.io/discourse-social-analytics-and-reputation-graph-analysis-with-aigents-137c72d0a203">personal social and graph analytics for Discourse communities with Aigents®</a> and how the <a href="https://blog.singularitynet.io/smart-communities-for-smart-cities-with-reputation-system-based-on-temporal-graph-67c8905689ad">Aigents implementation of the SingularityNET Reputation API</a> is designed.</p><p>In this the third blog post in the series, we’ll explore the practical aspects of using the <a href="https://aigents.com/">Aigents®</a> reputation engine to compute reputation ranks for <a href="https://discourse.org/">Discourse forums</a>. The results of the integration will be presented at the end of the post, so feel free to scroll down if you want to access the data straight away.</p><h3><strong>How to Plug Aigents into Discourse</strong></h3><p>The first thing you will need to do is to <a href="https://github.com/aigents/aigents-java/tree/master/doc">install and configure the Aigents server</a>. Once this is done you will need to configure the Aigents server to start computing reputation for a Discourse server, which can be done in just four steps using chat with Aigents in the Web UI (as shown below), or using Aigents bot on any messenger such as on Telegram, Facebook Messenger or Slack. Please note that you should be an administrator on both Discourse and Aigents servers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6ETNv-RraM1ieS2Vm_bHBw.png" /><figcaption>Aigents server to start computing reputation for a Discourse server in Aigents Web UI Demo chat using <a href="https://community.singularitynet.io/">https://community.singularitynet.io/</a> forum and “akolonin” user as example.</figcaption></figure><ol><li>Set <strong>URL</strong> for Discourse forum being integrated saying “<em>your discourse url https://mydiscourseforum.mysite.org</em>” (use actual site name).</li><li>Set <strong>API key</strong> for Discourse forum being integrated saying “<em>your discourse key 111222333444555aaabbbcccddd</em>” (use actual API key from Discourse admin console).</li><li>Set primary <strong>Reputation System</strong> for Aigents server saying “<em>your reputation system discourse</em>” (Aigents server may have multiple reputation systems running but the only one will be maintained automatically, so you may skip this step but will have to do daily updates of the reputation states).</li><li>Set <strong>discourse id</strong> for either entire Aigents server or the current use saying either “<em>your discourse id discourse-admin-username</em>” or “my <em>discourse id discourse-admin-username</em>” (the <em>discourse id discourse-admin-username </em>have to be real username on Discourse server and it has to be unique in Aigents, so if you are acting as a Discourse user in Aigents yourself, you should use the second option, being admin both of Aigents and Discourse).</li></ol><p>There is an extra step that you may want to take — set up the <strong>retention period, </strong>because the Aigents server cleanups the data older than X number of days configured with this server option. So if you want to handle Discourse reputation data for one year period, type “<em>your retention period 365</em>” in chat.</p><p>Once the above is set-up, you can start updating Discourse data in Aigents operating with a reputation of a connected Discourse community.</p><h3><strong>Updating Discourse Data in Aigents</strong></h3><p>The synchronisation of Discourse data, including Reputation, is done by Aigents on a daily basis automatically, but if you like you can speed things up.</p><p>In order to resynchronise the interaction logs between the community users with <a href="https://blog.singularitynet.io/smart-communities-for-smart-cities-with-reputation-system-based-on-temporal-graph-67c8905689ad">Aigents Temporal Graph database</a>, you just need to type “<em>you crawl discourse</em>” in Aigents chat.</p><p><strong>Caveat:</strong> it may take a long time, depending on the volume of the discourse communications (for instance, resynchronisation of <a href="https://community.singularitynet.io/">https://community.singularitynet.io/</a> took about two days). The logic of synchronisation can be discovered in the <a href="https://github.com/aigents/aigents-java/tree/master/src/main/java/net/webstructor/comm/discourse">Aigents Discourse plugin code</a>.</p><p>While synchronisation is running, you can keep checking the results inside the “discourse” subfolder. <strong><em>Tip: </em></strong><em>There is no way to stop the </em><strong><em>first (and only the first)</em></strong><em> resynchronisation process, so if you find it goes too far into the past, looking in the produced database files in this folder, you can simply restart the server and move onto the following steps. The subsequent re-synchronisations will be done incrementally and stopped automatically.</em></p><p>Further, once the resynchronisation process is in place, the computation o Reputation will be done silently under the hood, but you can enforce it as well, saying “<em>reputation update</em>” in the chat. <strong><em>Tip: </em></strong><em>Reputation update is done using default parameters of the Reputation System so if you want parameters other than the default, set them in advance as discussed further.</em></p><h3><strong>Operating the Reputation System</strong></h3><p>The Aigents implementation of the SingularityNET Reputation System API can be accessed in two ways — using SingularityNET Reputation in Python and using native Aigents chat (as shown above, but using a specific set of commands) or Aigents REST-style API (using the same commands).</p><ol><li>The <a href="https://github.com/singnet/reputation">SingularityNET Reputation in Python</a> provides interfaces to source <a href="https://github.com/singnet/reputation/blob/master/reputation/reputation_api.py#L51">ratings</a> (<em>clear_ratings, put_ratings, get_ratings</em>) and computed reputation <a href="https://github.com/singnet/reputation/blob/master/reputation/reputation_api.py#L87">ranks</a> (<em>clear_ranks, update_ranks, get_ranks, get_ranks_dict</em>) as well as interface to deal with computation <a href="https://github.com/singnet/reputation/blob/master/reputation/reputation_api.py#L33">parameters</a> (<em>set_parameters, get_parameters</em>). To run the Aigents version of Python interface, use the <a href="https://github.com/singnet/reputation/blob/master/reputation/aigents_reputation_api.py">Aigents wrapper</a> with server connection and authentication parameters of the same Aigents admin user as above. <strong><em>Tip: </em></strong><em>The parameters are not persistent, so if you restart the Aigents server you need to re-set the parameters with your designated values again.</em></li><li>Using Aigents chat <a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/peer/Reputationer.java#L883">Aigents REST-style Reputation API</a> which implements the same SingularityNET Reputation API as above and few more options that we will be using below. The Aigents <em>Reputationer</em> subsystem entry point is <a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/peer/Reputationer.java#L883"><em>act()</em></a><em> </em>method which is referenced by its <em>Conversation</em> subsystem’s <a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/peer/Conversation.java#L593"><em>tryReputationer()</em></a> method. The configuration and authentication of the Aigents REST-style API are <a href="https://github.com/aigents/aigents-java/blob/master/doc/aigents_integration_news_channel.md">available</a>.</li></ol><p><strong>Getting the Discourse Reputation Data</strong></p><p>Once the above is set up, and the resynchronisation is complete, we can use one of two options to get the data — as shown in the Aigents chat (but you can do it over HTTP in the same way).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7-7L1X35Sdaure2SAevISQ.png" /><figcaption>Using Aigents Web Demo to set up, update and get reputation ranks for Discourse community</figcaption></figure><p>The following commands can be used.</p><ol><li>“<em>reputation network discourse clear ranks</em>” — to zap all computed reputation ranks but keep all synchronised ratings (“<em>reputation network discourse clear ratings</em>” will do that erasing the resynchronisation results, so don’t do the latter).</li><li>“reputation network discourse set parameters default 0.5 decayed 0.5 conservatism 0.8” — to set the designated parameters like we have found to be the best for the case below. See the default parameters in Aigents <a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/peer/Reputationer.java#L59"><em>ReputationParameters</em></a> code.</li><li>“<em>reputation update</em>” — is not a Reputation API command but an Aigents server macro command which recomputes reputation ranks for every day starting <strong>retention period</strong> days back till yesterday.</li><li>“<em>reputation network discourse get ranks since YYYY–MM–DD until YYYY–MM–DD id user1, id user2, id user3</em>” — setting range of dates to retrieve the reputation ranks and listing every user id to get retrieved, like “<em>reputation network discourse get ranks since 2018–05–01 until 2018–05–30 id bengoertzel, id ibby, id Tim, id akolonin, id Arif</em>” as we will present further.</li><li>“<em>reputation network discourse get ranks date YYYY–MM–DD id user1, id user2, id user3</em>” — to retrieve the reputation ranks for a specific date and listing every user id to get retrieved, like “<em>reputation network discourse get ranks date 2018–05–01 id bengoertzel, id ibby, id Tim, id akolonin, id Arif</em>”.</li><li>“<em>reputation network discourse get ranks date YYYY–MM–DD</em>” — to retrieve the reputation ranks for a specific date for every user, like “<em>reputation network discourse get ranks date 2018–05–01</em>”.</li><li>“my format json” or “my format text” — to get results either in JSON or plain text format.</li></ol><p><strong>Making sense of the results</strong></p><p>We have done a case study for the first three months of the <a href="https://community.singularitynet.io/">https://community.singularitynet.io/</a> Discourse forum during the first three months of its operation, involving the top three influencers discovered during our earlier study with <a href="https://blog.singularitynet.io/discourse-social-analytics-and-reputation-graph-analysis-with-aigents-137c72d0a203">Discourse Aigents Reputation Graph analysis</a> (users called <a href="https://community.singularitynet.io/u/bengoertzel">bengoertzel</a>, <a href="https://community.singularitynet.io/u/ibby">ibby</a> and <a href="https://community.singularitynet.io/u/Tim">Tim</a>) having two semi-random others added to the study (<a href="https://community.singularitynet.io/u/Arif">Arif</a> and <a href="https://community.singularitynet.io/u/akolonin">akolonin</a>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kI_DmWfYj_m0Dj6reE5beQ.png" /><figcaption>Exploring the <strong><em>default</em></strong> and <strong>decayed</strong> parameters set as 0.1 (above) and 0.5 (below), with <strong>conservatism</strong> set as 0.5</figcaption></figure><p>We ran the script above with different values of <strong><em>default</em></strong> and <strong><em>decayed</em></strong> parameters (0.1 and 0.5) for the <a href="https://arxiv.org/pdf/1905.08036.pdf">Weighted Liquid Rank Reputation Algorithm</a> to see how the levels of the reputation ranks of the users change over time with <strong><em>conservatism</em></strong> set to 0.5. As expected, the lower value of the parameters effected to faster decay of the reputation in periods of inactivity, compared to other users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JuUIU7PnABbjpMM3ZRD2sg.png" /><figcaption>Exploring the <strong>conservatism</strong> parameter set as 0.5 (above) and 0.8 (below) with <strong><em>default</em></strong> and <strong>decayed</strong> parameters set as 0.5</figcaption></figure><p>Further, we then chose the <strong><em>default</em></strong> and <strong><em>decayed</em></strong> to be 0.5 and re-ran the same script with conservatism set as 0.5 and 0.8 to find the curves of the reputation ranks to become much smoother and less sensitive to temporarily periods of user inactivity.</p><p>Thus far, we have found <a href="https://aigents.com/">Aigents</a> implementation of the <a href="https://singularitynet.io/">SingularityNET</a> Reputation System API with <a href="https://arxiv.org/pdf/1905.08036.pdf">Weighted Liquid Rank</a> algorithm pretty usable to compute reputations of the users in any <a href="https://discourse.org/">Discourse</a> community.</p><p>We ask you to try it and let us know your feedback!</p><h3>Join Us</h3><p>SingularityNET plans to reinforce and expand its collaborations to shape the coming AI Singularity into a positive one, for all. To read more about our recent news click <a href="https://blog.singularitynet.io/">here</a>.</p><p>And if you have an idea for AI tools or services you’d like to see appear on the platform, you can request them on the <a href="http://rfai.singularitynet.io/">Request for AI Portal</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*kz17oc38PbbZ-IdV" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25b806277e74" width="1" height="1" alt=""><hr><p><a href="https://medium.com/singularitynet/computing-reputation-for-discourse-users-with-aigents-25b806277e74">Computing Reputation for Discourse users with Aigents</a> was originally published in <a href="https://medium.com/singularitynet">SingularityNET</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Discourse social analytics and reputation graph analysis with Aigents]]></title>
            <link>https://medium.com/singularitynet/discourse-social-analytics-and-reputation-graph-analysis-with-aigents-137c72d0a203?source=rss-4bb7f4242834------2</link>
            <guid isPermaLink="false">https://medium.com/p/137c72d0a203</guid>
            <category><![CDATA[personal-branding]]></category>
            <category><![CDATA[reputation-management]]></category>
            <category><![CDATA[social-media]]></category>
            <category><![CDATA[graph]]></category>
            <category><![CDATA[reputation]]></category>
            <dc:creator><![CDATA[Aigents with Anton Kolonin]]></dc:creator>
            <pubDate>Fri, 13 Mar 2020 15:55:59 GMT</pubDate>
            <atom:updated>2020-03-13T15:55:59.761Z</atom:updated>
            <content:encoded><![CDATA[<h4>Empowering the community with personal social analytics and reputation studies.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8nHOJ2V2J2Su9sj1lx_kXg.jpeg" /></figure><p>The ability to perform <a href="https://medium.com/@aigents/social-graph-as-online-mirror-7d537e42941d">personal social analytics</a> and <a href="https://blog.singularitynet.io/reputation-assessment-vs-reputation-management-d3a71445505a">reputation studies</a> within most major online social media platforms are severely limited by API restrictions guided by privacy protection and internal monetisation models where socially-relevant user-generated content is consumed by market analysis and advertisement businesses.</p><p>Users who are consuming the features of these platforms “<em>for free</em>” are limited in their ability to use personal analytics tools and platforms like <a href="https://aigents.com/">Aigents</a>©, even if this analysis concerns only the closest environment of the users themselves and does not affect the privacy of the others.</p><p>That is why we are looking forward to applying the <a href="https://aigents.com/">Aigents</a> machinery to more democratic online environments like <a href="https://www.reddit.com/r/aigents">Reddit</a>, <a href="https://steemit.com/@aigents">Steemit</a> and now <a href="https://meta.discourse.org/t/personal-social-analytics-and-reputation-graphs-for-discourse-forums/143676">Discourse</a> — where preservation and protection of privacy do not prevent users and communities to make sense of their own interaction data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rb_Jx7PUyTjN-V6V-xc6qg.png" /><figcaption>Demonstration of personal social graph analytics for Discourse forum at <a href="https://community.singularitynet.io/">https://community.singularitynet.io/</a> integrated into Aigents© Web Demo site at <a href="https://aigents.com/">https://aigents.com/</a></figcaption></figure><p>In the latest release of the Aigents© open-source platform (<a href="https://github.com/aigents/aigents-java/releases/tag/2.5.2">Ver. 2.5.2</a>), we provide the initial stages of full integration into the Discourse forum engine API, with access to a basic scope of Aigents functionality. In this version, the following is currently supported; personal social analytics, social graphs, network analysis, reputation computation according to open issue<a href="https://github.com/aigents/aigents-java/issues/7"> #7</a>, except Single-Sign-On and news monitoring options.</p><h3>How it works</h3><p>At this time, single instances of the <a href="https://steemit.com/ai/@aigents/aigents-power-server-for-personal-social-analytics-back-end">Aigents Server</a> may have only one <a href="https://www.discourse.org/">Discourse</a> forum setup referenced for social and reputation analysis integration, multiple Discourse forums per instance of Aigents may be supported in the future.</p><p>The forum URL should be configured with the “discourse URL” property of the Aigents’ self node and should relay “your discourse URL <strong>&lt;url&gt;</strong>” in the chat on behalf of the Aigents administrative user, for example, “your discourse URL<a href="https://community.singularitynet.io/"> https://community.singularitynet.io/</a>” in the case study below.</p><p>Once this is done, any of the Aigents users will be able to set their own Discourse id’s for a given forum in their “Properties” or by just saying “my discourse id <strong>&lt;id&gt;</strong>”, like “my discourse id “<a href="https://community.singularitynet.io/u/akolonin">akolonin</a>” in the following video.</p><p>Learn more about how this works on the ‘integration of Aigents’ <a href="https://aigents.com/">Demo Site</a> where we will illustrate a typical integration using the SingularityNET <a href="https://community.singularitynet.io/">community Discourse</a> forum as an example.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FC15tvMsSK3c%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DC15tvMsSK3c&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FC15tvMsSK3c%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3d31f288f0334e2d1bfa36d69d549dd5/href">https://medium.com/media/3d31f288f0334e2d1bfa36d69d549dd5/href</a></iframe><p>Once a user has their discourse id set up, they can request personal social reports through directly through the web site or by using any messenger such as Telegram, Facebook Messenger or Slack. Unlike Facebook and Reddit which have Single-Sign-On (SSO) integration with Aigents, Steemit and Discourse reports are not executable from the menu but can be obtained from within an Aigents chat session by typing “my discourse report”.</p><p>The default minimum returned activity report period is determined automatically, though you can configure this to obtain a custom number of days if you wish, so if you type “my discourse report, period 31” it will render a report with a month’s worth of activity, and likewise if you type “my discourse report, period 365” you will generate an annual report. If you’d like to learn more <a href="https://steemit.com/psychology/@akolonin/aigents-bot-on-facebook-and-telegram-with-flexible-personal-karma-analytics">Click Here</a> to find out how you can tailor your social reports to your needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yQO6pPNLlujCOkXV4WdI2w.png" /><figcaption>Heading of the Aigents Personal Social Report computed from Discourse forum data</figcaption></figure><p>You can also use the “Graph” view of the Aigents Web Demo site to see how the interactions with your close social neighbours are performing. If you are a member of <a href="https://community.singularitynet.io/">SingularityNET Community</a> and registered at <a href="https://aigents.com/">Aigents</a>, you can select a respective logo.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e9tK532laI2maw1MJhqsAA.png" /><figcaption>Personal social graph for SingularityNET community member “akolonin”, where sizes of the blue “halos” around the nodes on the graph correspond to the similarity between the participants of the social environment, the thickness of the arrows between the nodes correspond to the intensity of directed communications (including upvotes/likes, commenting and mentioning) while the vertical position of the node on the graph represent reputation level of the respective participant with the local community around the given member.</figcaption></figure><p>More sophisticated graph analysis and reputation study may be performed with deeper integration of Aigents with Discourse involving a<a href="https://blog.singularitynet.io/smart-communities-for-smart-cities-with-reputation-system-based-on-temporal-graph-67c8905689ad"> Liquid Rank Reputation System</a>. This needs the administrator of the Aigents site to also be an administrator of the Discourse site and the Discourse API key will have to be set up on the Aigents server self node relaying “your discourse key <strong>&lt;api-key&gt;</strong>” in the chat on behalf of Aigents administrative user.</p><p>Once this is done, any Aigents user accessing Discourse personal social graph can run a “<strong>Deep Graph Query</strong>” with a single right-mouse-click. The setup screen makes it possible to select graph (<strong>network)</strong> database to query (this can be Discourse or Steemit for example), root identifier (<strong>id</strong>) of the node to start the graph search, <strong>period</strong> as in the number of days of activity, <strong>range</strong> of traversals from node to node on the graph, the <strong>maximum</strong> number of graph nodes to retrieve and specific type of <strong>link</strong> if required.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lDQ3n0eFKHXdDRjsq9_UAg.png" /><figcaption>Aigents Deep Graph Query setup dialogue</figcaption></figure><p>The graph query execution is performed by the<a href="https://blog.singularitynet.io/graphs-part-3-aigents-graph-analysis-for-blockchains-and-social-networks-142fc8182389"> Aigents Graph Analytics framework</a>, and the graph data is retrieved from the server and rendered in the browser, providing more interactive options enabling changes to the graph layout and/or appearance of the links and nodes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZrNS4R4QVFsp6JTrU47BJA.png" /><figcaption>Aigents Graph Analytics view rendering subgraph of activity on Discourse forum at <a href="https://community.singularitynet.io/">https://community.singularitynet.io/</a></figcaption></figure><p>After all, the Aigents Server may be configured to have <a href="https://blog.singularitynet.io/smart-communities-for-smart-cities-with-reputation-system-based-on-temporal-graph-67c8905689ad">Liquid Rank Reputation System</a> turned into action. It can be done setting the current Discourse to be the default “reputation agency” providing the reputation data for the server instance. It can be done setting the respective server self node instance to Discourse saying “your reputation system discourse” in the chat on behalf of Aigents administrative user.</p><p>Once this is done, the reputation data will be retrieved from the configured Discourse server on a daily basis and the “reputation state” will be updated incrementally daily, according to the <a href="https://blog.singularitynet.io/reputation-system-design-for-singularitynet-8b5b61e8ed0e">SingularityNET Reputation System Design</a>. The daily reputations are updated according to the “<a href="https://arxiv.org/pdf/1905.08036.pdf">weighted liquid rank</a>” algorithm with the results illustrated on the following screenshot, so the top influencers and opinion leaders in a community may be correctly identified.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kGN1KnuxtQKIOrszcDZgSQ.png" /><figcaption>Example of the “reputation hierarchy” within the community on the <a href="https://community.singularitynet.io/">SingularityNET Discourse forum</a>, with graph force-directed layout settings, turned into “Horizontal”, so the vertical position of the nodes corresponds to reputation levels of respective participants. The hierarchy structure can be seen as few top-level influencers (“Tim”, “ibby” and “bengoertzel”), then a middle layer of actively commenting community and finally the bottom layer of passive readers and voters.</figcaption></figure><p>We’d love to hear your feedback and so If you are a Discourse user or event administrator, please feel free to let us know your thoughts in our <a href="https://meta.discourse.org/t/personal-social-analytics-and-reputation-graphs-for-discourse-forums/143676">Discourse development community forum</a> or here on <a href="https://medium.com/@aigents">Medium</a>.</p><p>Stay tuned for more updates from Aigents platform development in the other online communities:</p><p><a href="https://www.youtube.com/aigents">https://www.youtube.com/aigents</a><br><a href="https://www.facebook.com/aigents">https://www.facebook.com/aigents</a><br><a href="https://wt.social/wt/aigents">https://wt.social/wt/aigents</a><br><a href="https://steemit.com/@aigents">https://steemit.com/@aigents</a><br><a href="https://reddit.com/r/aigents">https://reddit.com/r/aigents</a><br><a href="https://twitter.com/aigents">https://twitter.com/aigents</a></p><h3>Join Us</h3><p>SingularityNET plans to reinforce and expand its collaborations to shape the coming AI Singularity into a positive one, for all. To read more about our recent news click <a href="https://blog.singularitynet.io/">here</a>.</p><p>And if you have an idea for AI tools or services you’d like to see appear on the platform, you can request them on the <a href="http://rfai.singularitynet.io/">Request for AI Portal</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*_iYuTkYKlzDzU3sx" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=137c72d0a203" width="1" height="1" alt=""><hr><p><a href="https://medium.com/singularitynet/discourse-social-analytics-and-reputation-graph-analysis-with-aigents-137c72d0a203">Discourse social analytics and reputation graph analysis with Aigents</a> was originally published in <a href="https://medium.com/singularitynet">SingularityNET</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Smart Communities for Smart Cities — with Reputation System based on Temporal Graph]]></title>
            <link>https://medium.com/singularitynet/smart-communities-for-smart-cities-with-reputation-system-based-on-temporal-graph-67c8905689ad?source=rss-4bb7f4242834------2</link>
            <guid isPermaLink="false">https://medium.com/p/67c8905689ad</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[society]]></category>
            <category><![CDATA[reputation]]></category>
            <category><![CDATA[aigents]]></category>
            <dc:creator><![CDATA[Aigents with Anton Kolonin]]></dc:creator>
            <pubDate>Fri, 24 Jan 2020 11:59:48 GMT</pubDate>
            <atom:updated>2020-02-03T13:17:47.722Z</atom:updated>
            <content:encoded><![CDATA[<h3>Smart Communities for Smart Cities — with Reputation Systems based on Temporal Graphs</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ROsBMsAESlblW-GzySYOrQ.jpeg" /></figure><p>The problem of reliable democratic governance is important for the survival of any community, and it will be more and critical over time communities with levels of social connectivity in a society rapidly increasing with speeds and scales of electronic communication.</p><p>This might become critically important with the emergence of so-called “Smart Cities” powered by Artificial Intelligence (AI) like it has been <a href="https://www.forbes.com/sites/forbestechcouncil/2019/10/30/rethinking-smart-cities-as-early-stage-agis/">presented by Ben Goertzel</a> recently. The core of any city is its human population and if the operations at human-level interactions are broken, any AI running on the basis of broken human interactions can make things worse rather than improving them.</p><p>Over the last few years, In order to face this challenge, different sorts of rating and reputation systems are being developed, like we <a href="https://www.wired.co.uk/article/china-social-credit-system-explained">Social Credit System in China</a> or <a href="https://thehustle.co/amazon-fake-reviews">Amazon Rating System</a>.</p><p>However, reputation gaming and manipulation in such systems appear to be a serious problem, like we have shown in a series of our latest publications on <a href="https://blog.singularitynet.io/reputation-assessment-vs-reputation-management-d3a71445505a">resisting reputation gaming in marketplaces</a>. To solve the problem, we are considering the use of an advanced reputation system supporting “liquid democracy” principle. The suggested system is based on “<a href="https://blog.singularitynet.io/minimizing-recommendation-fraud-7dabbee8fc00">Weighted Liquid Rank</a>” (WLR) algorithm employing different sorts of explicit and implicit ratings being exchanged by members of the society.</p><p>For the purpose, in our latest work on “<a href="https://arxiv.org/abs/1912.00176">Generalised Reputation Computation Ontology and Temporal Graph Architecture</a>,”<strong> </strong>we suggest “incremental reputation” design and graph database used for the implementation of the system. The implementation relies on generalised design and underlying ontology fitting different sorts of environments such as social networks, marketplaces, and financial ecosystems such as distributed ledgers and blockchains.</p><figure><img alt="Generalised Reputation Computation Ontology" src="https://cdn-images-1.medium.com/max/608/1*e9pTPUHxOyXsahDEE6fFuw.png" /><figcaption>Generalised Reputation Computation Ontology</figcaption></figure><p>The overall scope of entities and relationships in the ontology is presented in the above picture and can be handled by two independent “reference implementations” of the WLR algorithm. The first one is <a href="https://github.com/singnet/reputation">“research” version of SingularityNET Reputation System in Python</a>. The second “production” one is <a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/peer/Reputationer.java">written in Java</a> and built into <a href="https://aigents.com/">Aigents Social Computing Platform</a>.</p><p>The <strong>Aigents </strong>Platform along with <strong>SingularityNET</strong> Reputation System has been recently presented at HITB CyberWeek UAE in October 2019. The talk was given by <a href="https://lifeboat.com/ex/bios.anton.kolonin">Anton Kolonin</a> with lots of practical illustrations of how the solutions can be applied to social networks, marketplaces and blockchains.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fi9A9tnJ7T2Y%3Ffeature%3Doembed&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Di9A9tnJ7T2Y&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fi9A9tnJ7T2Y%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/2a6390002ea05ca41d7f29df643097de/href">https://medium.com/media/2a6390002ea05ca41d7f29df643097de/href</a></iframe><p>The key feature of the <strong>Aigents</strong> implementation is its temporal graph architecture (presented in <a href="https://arxiv.org/abs/1912.00176">our latest paper</a>) enabling the incremental reputation computation option making the WLR algorithm applicable for large-scale transactional systems. The implementation employs an in-memory graph database of Aigents project available in Java as <a href="https://github.com/aigents/aigents-java">open source</a>.</p><p>The first key feature of the Aigents graph database is its ability to store labelled temporal graphs with the possibility to attach any value to an edge between two vertices, so the value can be either numeric value indicating weight or strength of the relationship in a weighted graph or a compound truth value in the <a href="https://dl.acm.org/citation.cfm?id=1468044">probabilistic logic network</a>. In case of the Reputation System implementation, it may keep either single rating assessment or a financial transaction value and currency, or the combination of them all so he ratings may be weighted by financial values as presented in <a href="https://arxiv.org/abs/1902.03857">our earlier work</a>. Notably, the edge may contain entire probabilistic distribution or the list of associated transactions along with ratings and financial values.</p><p>The second feature of the Aigents graph database is its ability to slice graphs on a temporal basis so that each time period is stored in separate subgraph while the subgraphs can be arbitrary merged, or the subgraphs of multiple temporal subgraphs can be extracted and merged over time. In the case of Reputation System implementation, it has appeared logical to keep all transactions segmented in temporal subgraphs specific to what is called <a href="https://arxiv.org/abs/1806.07342">recalculation period</a> or <a href="https://arxiv.org/abs/1902.03857">observation period</a>, which is 1 day by default in the current implementation.</p><p>The indexing of the data is primarily temporal and secondary based on vertices and types of relationships. During the run-time, temporal ranges of subgraphs being processed on time scale are bound to memory resources available as well, so that amount of storage space limits time range that can be processed simultaneously. However, the incremental nature of the reputation recalculation given the “incremental” design option needs only a few subgraphs to be present in memory at one time.</p><p>Specifically, the two types of graphs are purposed for the Reputation System implementation. First, there is “reputation evidence data” with historical data accumulated for each of the observation period such as single day by default. Second, there is a “reputation state” graph keeping current “reputation balance” for each of the periods. That is, for each of the reputation update processes per observation period accordingly to the <a href="https://arxiv.org/abs/1902.03857">WLR algorithm specification</a>, the only three subgraphs should be present in physical memory – one “reputation evidence data” for the current period and two “reputation state” subgraphs for current and previous periods.</p><p>For more details, if you are developer, refer to implementations of the <a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/data/Graph.java">Graph</a>, <a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/data/GraphCacher.java">GraphCacher</a> and <a href="https://github.com/aigents/aigents-java/blob/master/src/main/java/net/webstructor/peer/Reputationer.java">Reputationer</a> classes in Aigents Java Core Platform or SingularityNET <a href="https://github.com/singnet/reputation/blob/master/reputation/reputation_api.py">reputation_api</a>.</p><p>In any case, <strong>stay tuned for updates on Aigents Social Computing Platform</strong> on <a href="https://medium.com/@aigents">Medium</a>, <a href="https://www.reddit.com/r/aigents/">Reddit</a>, <a href="https://www.facebook.com/aigents">Facebook</a>, <a href="https://twitter.com/aigents">Twitter</a> and <a href="https://steemit.com/@aigents">Steemit</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*e2jQ-9apE93Gm7uB" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=67c8905689ad" width="1" height="1" alt=""><hr><p><a href="https://medium.com/singularitynet/smart-communities-for-smart-cities-with-reputation-system-based-on-temporal-graph-67c8905689ad">Smart Communities for Smart Cities — with Reputation System based on Temporal Graph</a> was originally published in <a href="https://medium.com/singularitynet">SingularityNET</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>