Skip to content

Python SDK for AI agent monitoring, LLM cost tracking, benchmarking, and more. Integrates with most LLMs and agent frameworks including CrewAI, Agno, OpenAI Agents SDK, Langchain, Autogen, AG2, and CamelAI

feat: create integration between entelligence and agentops repository (#479)

Fernando Rocha6b37e1a9e467
diff --git a/docs/v1/scripts/entelligence.js b/docs/v1/scripts/entelligence.js
new file mode 100644
index 00000000..45452450
--- /dev/null
+++ b/docs/v1/scripts/entelligence.js
@@ -0,0 +1,37 @@
+function initEntelligence() {
+ const script = document.getElementById("entelligence-chat");
+
+ if (!script) {
+ const chatScript = document.createElement("script");
+ chatScript.type = "module";
+ chatScript.id = "entelligence-chat";
+ chatScript.src =
+ "https://d345f39z3arwqc.cloudfront.net/entelligence-chat.js";
+
+ // Create initialization script
+ const initScript = document.createElement("script");
+ initScript.type = "module";
+ initScript.textContent = `
+ window.EntelligenceChat.init({
+ analyticsData: {
+ repoName: "agentops",
+ organization: "AgentOps-AI",
+ apiKey: "1234567890",
+ theme: 'dark'
+ }
+ });
+ `;
+
+ // Append initialization script after chat script loads
+ chatScript.onload = () => {
+ document.body.appendChild(initScript);
+ };
+
+ // Append chat script to the body
+ document.body.appendChild(chatScript);
+ }
+}
+
+window.addEventListener("load", function () {
+ initEntelligence();
+});
diff --git a/docs/v1/styles/styles.css b/docs/v1/styles/styles.css
index 49e0151e..ab7560a0 100644
--- a/docs/v1/styles/styles.css
+++ b/docs/v1/styles/styles.css
@@ -157,4 +157,23 @@
text-align: center;
padding: 0;
margin: 0;
+}
+
+.hidden {
+ display: none;
+}
+
+@media (min-width: 1024px) {
+ .lg\:block {
+ display: block;
+ }
+ .lg\:hidden {
+ display: none;
+ }
+}
+
+@media (min-width: 768px) {
+ .md\:block {
+ display: block;
+ }
}
\ No newline at end of file