Skip to main content

An AI-powered information retrieval assistant helps users answer questions based on provided context.

Project description

SearchBot

This project is an AI-powered information retrieval assistant that helps users answer questions based on provided context. It supports multiple search bots and languages, allowing for flexible and accurate information retrieval.

中文说明

Supported Bots

  • Baidu
  • Bing

Supported Languages

  • Chinese
  • English

Example Usage

pip install searchbot
from searchbot.rag import search

query = "What is the capital of France?"
bot_name = "bing"
lang = "english"
verbose = True

answer = search(query, bot_name=bot_name, lang=lang, verbose=verbose)
print(answer)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

searchbot-1.0.8.tar.gz (5.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page