find-x-ai
TypeScript icon, indicating that this package has built-in type declarations

0.0.94 • Public • Published

FIND-X

Perplexity for your website.

Welcome to FIND-X, an advanced ready-made answer engine for your website.

Supported Frameworks

Currently, FIND-X supports the following frameworks, with plans to expand to all major frameworks soon:

  • React
  • Next.js

Installation

Getting started with FIND-X is quick and easy. Follow the steps below to integrate it into your project:

  1. Install the Package:

    • Using npm:

      npm install find-x-ai@latest
    • Using pnpm:

      pnpm install find-x-ai@latest
    • Using yarn:

      yarn add find-x-ai@latest
  2. Import the Chat Component:

    Here's an example of how to integrate the chat component in a Next.js application:

    import type { Metadata } from "next";
    import "./globals.css";
    
    /* Import the Chat component */
    import { ChatBox } from "find-x-ai";
    
    export const metadata: Metadata = {
      title: "Create Next App",
      description: "Generated by create next app",
    };
    
    export default function RootLayout({
      children,
    }: Readonly<{
      children: React.ReactNode;
    }>) {
      return (
        <html lang="en">
          <body>
            {children}
            <ChatBox
              config={{
                findx_key: process.env.NEXT_PUBLIC_FINDX_KEY!,
                theme: "dark",
                default: true,
              }}
            />
          </body>
        </html>
      );
    }

For more information about FIND-X check out the documentation here

Package Sidebar

Install

npm i find-x-ai

Weekly Downloads

34

Version

0.0.94

License

MIT

Unpacked Size

65.7 kB

Total Files

48

Last publish

Collaborators

  • sahil_501