npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

proagent-module

v1.2.2

Published

A lightweight, AI-powered chat widget that can be seamlessly integrated into any website. Train your AI agent with your documents to provide instant support to your customers.

Downloads

593

Readme

ProAgent Chat Widget

A lightweight, AI-powered chat widget that can be seamlessly integrated into any website. Train your AI agent with your documents to provide instant support to your customers.

Table of Contents

Getting Started

1. Account Setup

  1. Sign Up: Register at ProAgent Signup. Sign Up Page

  2. Login: Access your account through the ProAgent Dashboard.

  3. Create an Agent: Set up a new agent from your dashboard. Create New Agent

  4. Access Key: Copy your agent's access key for integration. Copy Access Key

  5. Document Upload: Train your agent by uploading relevant documents. Upload Documents

2. Installation

Using CDN (HTML)

<!-- Chat Widget Placement -->
<div id="proagent-module"></div>

<!-- ProAgent Script from jsDelivr -->
<script src="https://cdn.jsdelivr.net/npm/proagent-module/dist/index.umd.js"></script>
<script>
  const ACCESS = 'YOUR_ACCESS_KEY';
  Proagent.render('proagent-module', ACCESS);
</script>

or

<!-- Chat Widget Placement -->
<div id="proagent-module"></div>

<!-- ProAgent Script from jsDelivr -->
<script src="https://unpkg.com/proagent-module/dist/index.umd.js"></script>
<script>
  const ACCESS = 'YOUR_ACCESS_KEY';
  Proagent.render('proagent-module', ACCESS);
</script>

For React Applications

npm install proagent-module
# or
yarn add proagent-module
import { Proagent } from 'proagent-module';

function App() {
  return <Proagent apiKey="YOUR_ACCESS_KEY" />;
}

export default App;

For Next.js Applications (Preventing Hydration Errors)

'use client';
import { Proagent } from 'proagent-module';

export default function ChatWidget() {
  return <Proagent apiKey="YOUR_ACCESS_KEY" />;
}
import ChatWidget from '../your_path/ChatWidget';

export default function App() {
  return (
    <div>
      <ChatWidget />
    </div>
  );
}

Demo

ProAgent Welcome ProAgent Welcome Interface

ProAgent Chat Interface Chat User Interface

ProAgent Integration Example ProAgent Integration Example

Features

  • AI-powered Responses: Get real-time answers powered by artificial intelligence.
  • Responsive Design: Ensures optimal viewing across all devices.
  • Real-time Chat Interface: Engage with customers immediately.
  • Document Training Capability: Improve agent responses by training with specific documents.
  • Quick Message Suggestions: Speed up response times with AI suggestions.
  • Secure Communication: Safeguard data with advanced security measures.

Browser Support

Supported on the latest versions of Chrome, Firefox, Safari, and Edge.

Important Note

For optimal performance, remember to regularly update the documents used to train your agent.

Support

For assistance, reach out to us at [email protected].