Adds twitter handles to rendered output.
parent
2df25f6a96
commit
9ccb225870
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
|
@ -1,18 +1,15 @@
|
||||||
const jsonData = {
|
const jsonData = {
|
||||||
"command":
|
"command": {
|
||||||
{
|
"name": "Google Search",
|
||||||
"name": "Commit to Long Term Memory",
|
"arguments": {
|
||||||
"arguments":
|
"search": "simple and profitable online business ideas"
|
||||||
{
|
|
||||||
"string": "1. AI-based Photo Editing Apps\n2. AI-Based Writing Tool\n3. Advertising Software\n4. AI Marketing Agency\n5. Recruitment Business App\n6. AI-powered Cybersecurity App\n7. Healthcare Startup\n8. Medical Equipment Business"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Thoughts":
|
"thoughts": {
|
||||||
{
|
"text": "I will search for simple and profitable online business ideas to begin my entrepreneurship journey.",
|
||||||
"text": "Storing the ranking of potential AI-based businesses in Long Term Memory",
|
"reasoning": "To achieve my goals, I need to identify business opportunities that align with my strengths as an LLM and have minimal legal complications.",
|
||||||
"reasoning": "To remember the ranked list and use it to guide the decision-making process in choosing the most suitable business opportunity",
|
"current long-term plan": "- Search for business ideas\n- Evaluate and select ideas\n- Develop and implement chosen business strategy\n- Continuously refine strategies based on market trends and performance metrics",
|
||||||
"current long-term plan": "- Research potential businesses\n- Choose a suitable business\n- Develop and manage the business autonomously",
|
"critisism": "I must ensure that the chosen business idea is both simple and legal, while also considering scalability and profitability."
|
||||||
"critisism": "None at the moment"
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -21,7 +18,7 @@ function displayJsonData() {
|
||||||
let displayContent = '';
|
let displayContent = '';
|
||||||
|
|
||||||
for (const key in jsonData) {
|
for (const key in jsonData) {
|
||||||
displayContent += `<h2>${key}</h2><ul>`;
|
displayContent += `<h2>${key}:</h2><br><ul>`;
|
||||||
const value = jsonData[key];
|
const value = jsonData[key];
|
||||||
|
|
||||||
for (const subKey in value) {
|
for (const subKey in value) {
|
||||||
|
@ -32,7 +29,14 @@ function displayJsonData() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (subKey === "arguments") {
|
if (subKey === "arguments") {
|
||||||
displayContent += `<li><strong>${subKey}:</strong><ul><li><div class="argument-box"><strong>string:</strong> ${value[subKey].string.replace(/\n/g, '<br>')}</div></li></ul></li>`;
|
displayContent += `<li><strong>${subKey}:</strong><ul>`;
|
||||||
|
|
||||||
|
for (const argumentKey in value[subKey]) {
|
||||||
|
const argumentValue = value[subKey][argumentKey];
|
||||||
|
displayContent += `<li><div class="argument-box"><strong>${argumentKey}:</strong> ${argumentValue.replace(/\n/g, '<br>')}</div></li>`;
|
||||||
|
}
|
||||||
|
|
||||||
|
displayContent += '</ul></li>';
|
||||||
} else {
|
} else {
|
||||||
displayContent += `<li><strong>${subKey}:</strong> ${subValue}</li>`;
|
displayContent += `<li><strong>${subKey}:</strong> ${subValue}</li>`;
|
||||||
}
|
}
|
||||||
|
@ -41,7 +45,17 @@ function displayJsonData() {
|
||||||
displayContent += '</ul>';
|
displayContent += '</ul>';
|
||||||
}
|
}
|
||||||
|
|
||||||
jsonDisplay.innerHTML = displayContent;
|
jsonDisplay.innerHTML = `
|
||||||
|
<div class="json-display-content">
|
||||||
|
${displayContent}
|
||||||
|
</div>
|
||||||
|
<div class="twitter-handles">
|
||||||
|
<img src="en_gpt.jpg" alt="En_GPT" class="twitter-profile-pic">
|
||||||
|
<a href="https://twitter.com/En_GPT"> @En_GPT</a>
|
||||||
|
<img src="SigGravitas.jpg" alt="SigGravitas" class="twitter-profile-pic">
|
||||||
|
<a href="https://twitter.com/SigGravitas">@SigGravitas</a>
|
||||||
|
</div>
|
||||||
|
`;
|
||||||
}
|
}
|
||||||
|
|
||||||
displayJsonData();
|
displayJsonData();
|
||||||
|
|
|
@ -45,3 +45,18 @@ strong {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.twitter-handles {
|
||||||
|
/* Center horizontally */
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.twitter-profile-pic {
|
||||||
|
height: 30px;
|
||||||
|
border-radius: 50%;
|
||||||
|
margin-left: 5px;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue