find-x-ai
v0.0.87
Published
Welcome to **Find-X**, an advanced AI-powered search engine crafted to deliver precise, contextually accurate answers for any query.
Downloads
22
Readme
Find-X: AI based local search engine for websites.
Welcome to Find-X, an advanced AI-powered search engine crafted to deliver precise, contextually accurate answers for any query.
🌐 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 Find-X into your project:
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
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