Skip to content

Commit

Permalink
index
Browse files Browse the repository at this point in the history
  • Loading branch information
mike dupont committed Oct 21, 2023
1 parent acbc543 commit a115f49
Show file tree
Hide file tree
Showing 21 changed files with 14,230 additions and 0 deletions.
12,855 changes: 12,855 additions & 0 deletions pyre/autogpt/autogpt_function_calls.csv

Large diffs are not rendered by default.

222 changes: 222 additions & 0 deletions pyre/autogpt/graphs/graphComponent0.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pyre/autogpt/graphs/graphComponent0.json

Large diffs are not rendered by default.

127 changes: 127 additions & 0 deletions pyre/autogpt/graphs/graphComponent1.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pyre/autogpt/graphs/graphComponent1.json

Large diffs are not rendered by default.

127 changes: 127 additions & 0 deletions pyre/autogpt/graphs/graphComponent2.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pyre/autogpt/graphs/graphComponent2.json

Large diffs are not rendered by default.

127 changes: 127 additions & 0 deletions pyre/autogpt/graphs/graphComponent3.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
<html>
<head>
<meta charset="utf-8">

<script src="lib/bindings/utils.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/vis-network/9.1.2/dist/dist/vis-network.min.css" integrity="sha512-WgxfT5LWjfszlPHXRmBWHkV2eceiWTOBvrKCNbdgDYTHrT2AeLCGbF4sZlZw3UMN3WtL0tGUoIAKsu8mllg/XA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/vis-network/9.1.2/dist/vis-network.min.js" integrity="sha512-LnvoEWDFrqGHlHmDD2101OrLcbsfkrzoSpvtSQtxK3RMnRV0eOkhhBN2dXHKRrUU8p2DGRTk35n4O8nWSVe1mQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>


<center>
<h1></h1>
</center>

<!-- <link rel="stylesheet" href="../node_modules/vis/dist/vis.min.css" type="text/css" />
<script type="text/javascript" src="../node_modules/vis/dist/vis.js"> </script>-->
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6"
crossorigin="anonymous"
/>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-JEW9xMcG8R+pH31jmWH6WWP0WintQrMb4s7ZOdauHnUtxwoG2vI5DkLtS3qm9Ekf"
crossorigin="anonymous"
></script>


<center>
<h1></h1>
</center>
<style type="text/css">

#mynetwork {
width: 100%;
height: 800px;
background-color: #ffffff;
border: 1px solid lightgray;
position: relative;
float: left;
}






</style>
</head>


<body>
<div class="card" style="width: 100%">


<div id="mynetwork" class="card-body"></div>
</div>




<script type="text/javascript">

// initialize global variables.
var edges;
var nodes;
var allNodes;
var allEdges;
var nodeColors;
var originalNodes;
var network;
var container;
var options, data;
var filter = {
item : '',
property : '',
value : []
};





// This method is responsible for drawing the graph, returns the drawn network
function drawGraph() {
var container = document.getElementById('mynetwork');



// parsing and collecting nodes and edges from the python
nodes = new vis.DataSet([{"color": "#97c2fc", "id": "autogpts.ZEROAGPT_04.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "label": "autogpts.ZEROAGPT_04.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "shape": "dot"}, {"color": "#97c2fc", "id": "bs4.element.Tag.find_all", "label": "bs4.element.Tag.find_all", "shape": "dot"}, {"color": "#97c2fc", "id": "autogpts.SmartAgent.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "label": "autogpts.SmartAgent.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "shape": "dot"}, {"color": "#97c2fc", "id": "autogpts.ghostcoder.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "label": "autogpts.ghostcoder.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "shape": "dot"}, {"color": "#97c2fc", "id": "autogpt.processing.html.extract_hyperlinks", "label": "autogpt.processing.html.extract_hyperlinks", "shape": "dot"}, {"color": "#97c2fc", "id": "autogpts.autogpt.autogpt.processing.html.extract_hyperlinks", "label": "autogpts.autogpt.autogpt.processing.html.extract_hyperlinks", "shape": "dot"}, {"color": "#97c2fc", "id": "autogpts.forge.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "label": "autogpts.forge.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "shape": "dot"}, {"color": "#97c2fc", "id": "autogpts.HandwerkAnalytics.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "label": "autogpts.HandwerkAnalytics.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "shape": "dot"}]);
edges = new vis.DataSet([{"from": "autogpts.ZEROAGPT_04.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "id": "autogpts.ZEROAGPT_04.forge.sdk.abilities.web.web_selenium.extract_hyperlinks_to_bs4.element.Tag.find_all", "to": "bs4.element.Tag.find_all"}, {"from": "autogpts.SmartAgent.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "id": "autogpts.SmartAgent.forge.sdk.abilities.web.web_selenium.extract_hyperlinks_to_bs4.element.Tag.find_all", "to": "bs4.element.Tag.find_all"}, {"from": "autogpts.ghostcoder.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "id": "autogpts.ghostcoder.forge.sdk.abilities.web.web_selenium.extract_hyperlinks_to_bs4.element.Tag.find_all", "to": "bs4.element.Tag.find_all"}, {"from": "autogpt.processing.html.extract_hyperlinks", "id": "autogpt.processing.html.extract_hyperlinks_to_bs4.element.Tag.find_all", "to": "bs4.element.Tag.find_all"}, {"from": "bs4.element.Tag.find_all", "id": "bs4.element.Tag.find_all_to_autogpts.autogpt.autogpt.processing.html.extract_hyperlinks", "to": "autogpts.autogpt.autogpt.processing.html.extract_hyperlinks"}, {"from": "bs4.element.Tag.find_all", "id": "bs4.element.Tag.find_all_to_autogpts.forge.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "to": "autogpts.forge.forge.sdk.abilities.web.web_selenium.extract_hyperlinks"}, {"from": "bs4.element.Tag.find_all", "id": "bs4.element.Tag.find_all_to_autogpts.HandwerkAnalytics.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "to": "autogpts.HandwerkAnalytics.forge.sdk.abilities.web.web_selenium.extract_hyperlinks"}]);

nodeColors = {};
allNodes = nodes.get({ returnType: "Object" });
for (nodeId in allNodes) {
nodeColors[nodeId] = allNodes[nodeId].color;
}
allEdges = edges.get({ returnType: "Object" });
// adding nodes and edges to the graph
data = {nodes: nodes, edges: edges};

var options = {"nodes": {"font": {"size": 12, "color": "black"}, "shapeProperties": {"useBorderWithImage": true}}, "edges": {"length": 1050}, "physics": {"stabilization": {"enabled": true, "iterations": 1000}, "hierarchicalRepulsion": {"centralGravity": 0.0, "springLength": 700, "springConstant": 0.01, "nodeDistance": 750, "damping": 0.09}, "solver": "hierarchicalRepulsion", "timestep": 0.5}, "layout": {"hierarchical": {"enabled": true, "blockShifting": true, "parentCentralization": true, "sortMethod": "directed"}}};






network = new vis.Network(container, data, options);










return network;

}
drawGraph();
</script>
</body>
</html>
1 change: 1 addition & 0 deletions pyre/autogpt/graphs/graphComponent3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"nodes": [{"color": "#97c2fc", "id": "autogpts.ZEROAGPT_04.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "label": "autogpts.ZEROAGPT_04.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "shape": "dot"}, {"color": "#97c2fc", "id": "bs4.element.Tag.find_all", "label": "bs4.element.Tag.find_all", "shape": "dot"}, {"color": "#97c2fc", "id": "autogpts.SmartAgent.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "label": "autogpts.SmartAgent.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "shape": "dot"}, {"color": "#97c2fc", "id": "autogpts.ghostcoder.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "label": "autogpts.ghostcoder.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "shape": "dot"}, {"color": "#97c2fc", "id": "autogpt.processing.html.extract_hyperlinks", "label": "autogpt.processing.html.extract_hyperlinks", "shape": "dot"}, {"color": "#97c2fc", "id": "autogpts.autogpt.autogpt.processing.html.extract_hyperlinks", "label": "autogpts.autogpt.autogpt.processing.html.extract_hyperlinks", "shape": "dot"}, {"color": "#97c2fc", "id": "autogpts.forge.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "label": "autogpts.forge.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "shape": "dot"}, {"color": "#97c2fc", "id": "autogpts.HandwerkAnalytics.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "label": "autogpts.HandwerkAnalytics.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "shape": "dot"}], "edges": [{"id": "autogpts.ZEROAGPT_04.forge.sdk.abilities.web.web_selenium.extract_hyperlinks_to_bs4.element.Tag.find_all", "from": "autogpts.ZEROAGPT_04.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "to": "bs4.element.Tag.find_all"}, {"id": "autogpts.SmartAgent.forge.sdk.abilities.web.web_selenium.extract_hyperlinks_to_bs4.element.Tag.find_all", "from": "autogpts.SmartAgent.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "to": "bs4.element.Tag.find_all"}, {"id": "autogpts.ghostcoder.forge.sdk.abilities.web.web_selenium.extract_hyperlinks_to_bs4.element.Tag.find_all", "from": "autogpts.ghostcoder.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "to": "bs4.element.Tag.find_all"}, {"id": "autogpt.processing.html.extract_hyperlinks_to_bs4.element.Tag.find_all", "from": "autogpt.processing.html.extract_hyperlinks", "to": "bs4.element.Tag.find_all"}, {"id": "bs4.element.Tag.find_all_to_autogpts.autogpt.autogpt.processing.html.extract_hyperlinks", "from": "bs4.element.Tag.find_all", "to": "autogpts.autogpt.autogpt.processing.html.extract_hyperlinks"}, {"id": "bs4.element.Tag.find_all_to_autogpts.forge.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "from": "bs4.element.Tag.find_all", "to": "autogpts.forge.forge.sdk.abilities.web.web_selenium.extract_hyperlinks"}, {"id": "bs4.element.Tag.find_all_to_autogpts.HandwerkAnalytics.forge.sdk.abilities.web.web_selenium.extract_hyperlinks", "from": "bs4.element.Tag.find_all", "to": "autogpts.HandwerkAnalytics.forge.sdk.abilities.web.web_selenium.extract_hyperlinks"}]}
127 changes: 127 additions & 0 deletions pyre/autogpt/graphs/graphComponent4.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
<html>
<head>
<meta charset="utf-8">

<script src="lib/bindings/utils.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/vis-network/9.1.2/dist/dist/vis-network.min.css" integrity="sha512-WgxfT5LWjfszlPHXRmBWHkV2eceiWTOBvrKCNbdgDYTHrT2AeLCGbF4sZlZw3UMN3WtL0tGUoIAKsu8mllg/XA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/vis-network/9.1.2/dist/vis-network.min.js" integrity="sha512-LnvoEWDFrqGHlHmDD2101OrLcbsfkrzoSpvtSQtxK3RMnRV0eOkhhBN2dXHKRrUU8p2DGRTk35n4O8nWSVe1mQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>


<center>
<h1></h1>
</center>

<!-- <link rel="stylesheet" href="../node_modules/vis/dist/vis.min.css" type="text/css" />
<script type="text/javascript" src="../node_modules/vis/dist/vis.js"> </script>-->
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6"
crossorigin="anonymous"
/>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-JEW9xMcG8R+pH31jmWH6WWP0WintQrMb4s7ZOdauHnUtxwoG2vI5DkLtS3qm9Ekf"
crossorigin="anonymous"
></script>


<center>
<h1></h1>
</center>
<style type="text/css">

#mynetwork {
width: 100%;
height: 800px;
background-color: #ffffff;
border: 1px solid lightgray;
position: relative;
float: left;
}






</style>
</head>


<body>
<div class="card" style="width: 100%">


<div id="mynetwork" class="card-body"></div>
</div>




<script type="text/javascript">

// initialize global variables.
var edges;
var nodes;
var allNodes;
var allEdges;
var nodeColors;
var originalNodes;
var network;
var container;
var options, data;
var filter = {
item : '',
property : '',
value : []
};





// This method is responsible for drawing the graph, returns the drawn network
function drawGraph() {
var container = document.getElementById('mynetwork');



// parsing and collecting nodes and edges from the python
nodes = new vis.DataSet([{"color": "#97c2fc", "id": "autogpts.autogpt.autogpt.core.ability.base.Ability.arguments", "label": "autogpts.autogpt.autogpt.core.ability.base.Ability.arguments", "shape": "dot"}, {"color": "#97c2fc", "id": "autogpts.autogpt.autogpt.core.ability.base.Ability.dump", "label": "autogpts.autogpt.autogpt.core.ability.base.Ability.dump", "shape": "dot"}, {"color": "#97c2fc", "id": "autogpts.autogpt.autogpt.core.ability.base.Ability.required_arguments", "label": "autogpts.autogpt.autogpt.core.ability.base.Ability.required_arguments", "shape": "dot"}, {"color": "#97c2fc", "id": "autogpts.autogpt.autogpt.core.ability.base.Ability.description", "label": "autogpts.autogpt.autogpt.core.ability.base.Ability.description", "shape": "dot"}, {"color": "#97c2fc", "id": "autogpts.autogpt.autogpt.core.ability.base.Ability.spec", "label": "autogpts.autogpt.autogpt.core.ability.base.Ability.spec", "shape": "dot"}, {"color": "#97c2fc", "id": "autogpts.autogpt.autogpt.core.ability.base.Ability.__str__", "label": "autogpts.autogpt.autogpt.core.ability.base.Ability.__str__", "shape": "dot"}, {"color": "#97c2fc", "id": "autogpts.autogpt.autogpt.core.ability.base.Ability.name", "label": "autogpts.autogpt.autogpt.core.ability.base.Ability.name", "shape": "dot"}, {"color": "#97c2fc", "id": "autogpts.autogpt.autogpt.core.ability.base.Ability.parameters", "label": "autogpts.autogpt.autogpt.core.ability.base.Ability.parameters", "shape": "dot"}]);
edges = new vis.DataSet([{"from": "autogpts.autogpt.autogpt.core.ability.base.Ability.arguments", "id": "autogpts.autogpt.autogpt.core.ability.base.Ability.arguments_to_autogpts.autogpt.autogpt.core.ability.base.Ability.dump", "to": "autogpts.autogpt.autogpt.core.ability.base.Ability.dump"}, {"from": "autogpts.autogpt.autogpt.core.ability.base.Ability.required_arguments", "id": "autogpts.autogpt.autogpt.core.ability.base.Ability.required_arguments_to_autogpts.autogpt.autogpt.core.ability.base.Ability.dump", "to": "autogpts.autogpt.autogpt.core.ability.base.Ability.dump"}, {"from": "autogpts.autogpt.autogpt.core.ability.base.Ability.description", "id": "autogpts.autogpt.autogpt.core.ability.base.Ability.description_to_autogpts.autogpt.autogpt.core.ability.base.Ability.spec", "to": "autogpts.autogpt.autogpt.core.ability.base.Ability.spec"}, {"from": "autogpts.autogpt.autogpt.core.ability.base.Ability.description", "id": "autogpts.autogpt.autogpt.core.ability.base.Ability.description_to_autogpts.autogpt.autogpt.core.ability.base.Ability.dump", "to": "autogpts.autogpt.autogpt.core.ability.base.Ability.dump"}, {"from": "autogpts.autogpt.autogpt.core.ability.base.Ability.__str__", "id": "autogpts.autogpt.autogpt.core.ability.base.Ability.__str___to_autogpts.autogpt.autogpt.core.ability.base.Ability.spec", "to": "autogpts.autogpt.autogpt.core.ability.base.Ability.spec"}, {"from": "autogpts.autogpt.autogpt.core.ability.base.Ability.__str__", "id": "autogpts.autogpt.autogpt.core.ability.base.Ability.__str___to_autogpts.autogpt.autogpt.core.ability.base.Ability.dump", "to": "autogpts.autogpt.autogpt.core.ability.base.Ability.dump"}, {"from": "autogpts.autogpt.autogpt.core.ability.base.Ability.name", "id": "autogpts.autogpt.autogpt.core.ability.base.Ability.name_to_autogpts.autogpt.autogpt.core.ability.base.Ability.spec", "to": "autogpts.autogpt.autogpt.core.ability.base.Ability.spec"}, {"from": "autogpts.autogpt.autogpt.core.ability.base.Ability.name", "id": "autogpts.autogpt.autogpt.core.ability.base.Ability.name_to_autogpts.autogpt.autogpt.core.ability.base.Ability.dump", "to": "autogpts.autogpt.autogpt.core.ability.base.Ability.dump"}, {"from": "autogpts.autogpt.autogpt.core.ability.base.Ability.spec", "id": "autogpts.autogpt.autogpt.core.ability.base.Ability.spec_to_autogpts.autogpt.autogpt.core.ability.base.Ability.parameters", "to": "autogpts.autogpt.autogpt.core.ability.base.Ability.parameters"}]);

nodeColors = {};
allNodes = nodes.get({ returnType: "Object" });
for (nodeId in allNodes) {
nodeColors[nodeId] = allNodes[nodeId].color;
}
allEdges = edges.get({ returnType: "Object" });
// adding nodes and edges to the graph
data = {nodes: nodes, edges: edges};

var options = {"nodes": {"font": {"size": 12, "color": "black"}, "shapeProperties": {"useBorderWithImage": true}}, "edges": {"length": 1050}, "physics": {"stabilization": {"enabled": true, "iterations": 1000}, "hierarchicalRepulsion": {"centralGravity": 0.0, "springLength": 700, "springConstant": 0.01, "nodeDistance": 750, "damping": 0.09}, "solver": "hierarchicalRepulsion", "timestep": 0.5}, "layout": {"hierarchical": {"enabled": true, "blockShifting": true, "parentCentralization": true, "sortMethod": "directed"}}};






network = new vis.Network(container, data, options);










return network;

}
drawGraph();
</script>
</body>
</html>
Loading

0 comments on commit a115f49

Please sign in to comment.