Un tema potencialmente candente es la creación de chatbots con tecnología de gráficos. Si bien esto no es de ninguna manera un chatbot avanzado, es una forma de combinar el poder de TigerGraph y Discord para crear un bot receptivo para un servidor de Discord.
Primero, necesitas crear el bot en Discord. Para este proyecto, usaremos Discord.py. Para crear bots, necesitarás una cuenta de Discord y habilitar el modo de desarrollador. Entonces deberías poder acceder a la página de aplicaciones: https://discord.com/developers/applications.
Desde aquí, en la esquina superior derecha, haz clic en “Nueva aplicación”:
Read more in Planeta Chatbot : todo sobre los Chat bots, Voice apps e Inteligencia Artificial · 5 min read
In TigerGraph, a secret is a unique code that allows outside scripts to interact with your graph. Several TigerGraph tools might ask you for it, but generating a secret itself can be tricky.
If you haven’t already created or started your solution, you will need to do so. Here are the steps on how to do this:
A potentially hot topic is creating chat bots with graph technology. While this is by no means an advanced chat bot, it’s a way to combine the power of TigerGraph and Discord to create a responsive bot for a Discord server.
First, you need to create the bot itself on Discord. For this project, we’ll be using Discord.py. To create bots, you’ll need a Discord account and to enable Developer Mode. You should then be able to access the applications page: https://discord.com/developers/applications
From here, on the top right corner, click “New Application.”
Next, name your application at the prompt.
We are in the midst of the holidays and yet we are forced in our houses due to the pandemic. However, this year, I decided to start a new tradition: I created a VR card. While it’s far from being a place for interaction, like the Oasis or your choice of science-fiction universe, it’s been a nice way to create something small to share with my friends and family.
In this lesson, I’ll introduce the basics of a-frame to create a simple, in-browser holiday “winter wonderland” card using only primitive types (and text). …
This blog will serve as an introduction to web scraping using Beautiful Soup. We will extract textual data from Wikipedia, and create a mini “Google” in which a user can ask for something and the result will be a paragraph-long description about the item searched.
Note that this is by no means a final product; rather, it’s an introduction to basic webscraping. Let’s begin!
First, we’ll need to import our libraries. The two libraries we’ll be using are BeautifulSoup4 to parse the HTML and requests to extract text from a website (which is, in our case, Wikipedia).
from bs4 import…
(Note: This is a bonus blog based on a series. To obtain the data used, refer to the past blogs.)
Hello! Today, we’re going to learn how to run a linear regression using TigerGraph. In this example, we’ll be running a linear regression with the Pokémon’s height and weight. Let’s get to it!
To start, we’re going to need to import the necessary libraries and create a connection to our graph.
The libraries we’ll be using are pyTigerGraph, Plotly Express, and Pandas. You can import them using the following:
import pyTigerGraph as tgimport plotly.express as pximport pandas as…
(Note: This is Part 3 of a series. Check out the past blog to load the data into your database: https://towardsdatascience.com/pok%C3%A9mon-lab-part-ii-adding-more-data-90cddd65ec46!)
Now that you have your data loaded, the next big step will be catching them all and extracting relevant information from your graph using queries. This blog will be using TigerGraph’s query language called GSQL.
Queries will help you extract meaningful results from the data. By now, you should have a lot of data in your graph; the major question is what you should do with the data? How can you manipulate your data to accomplish some sort of…
(Note: This is a Part II of a series. Please check out Part I here: https://towardsdatascience.com/using-api-data-with-tigergraph-ef98cc9293d3)
In the last blog, we learned how to upsert API data into a graph for a basic schema. Now, we’re going to go deeper, making a more complex schema and adding more data.
The past blog was a proof-of-concept for loading API data into a graph in TigerGraph, and that graph only had two vertices connected with one edge. Contrary to the past blog which focused on loading data from an API, this blog will focus on creating a graph that will be more…
Giraffle, created by Joshua Meekhof, is a way to programmatically create graphs in TigerGraph. When working on a graph project with many team members, having our graph in code makes it easier to collaborate. In addition, in a collaborative space, if someone accidentally drops all or part of the data, your schema and queries are all saved and reusable. Overall, by programmatically creating graphs, Giraffle can help ease collaboration with graphs in TigerGraph.
In this blog, we will cover:
By the end of this blog…
Unfortunately, not all data on the Internet comes in nicely packaged CSV files. In fact, frequently, one might want to use data from popular APIs, but how does one load that in a graph?
In this blog, we’ll be using Python 3 (more specifically Python 3.6.9), requests, json, and pyTigerGraph. You can either create a notebook on Colab or run it locally on your computer, but, for the purposes of this lesson, I’d recommend you to use Colab.
If you haven’t already, you’ll need…