Skip to main content

LlamaIndex integration for BrowseAI Dev — verified web search with citations and confidence scores for AI agents

Project description

llamaindex-browseaidev

LlamaIndex integration for BrowseAI Dev — verified web search with citations and confidence scores for AI agents.

Installation

pip install llamaindex-browseaidev

Quick Start

from llama_index.core.agent import ReActAgent
from llama_index.llms.openai import OpenAI
from llamaindex_browseaidev import BrowseAIDevAnswerTool, BrowseAIDevSearchTool

# Create tools
answer_tool = BrowseAIDevAnswerTool(api_key="bai_xxx")
search_tool = BrowseAIDevSearchTool(api_key="bai_xxx")

# Create agent
llm = OpenAI(model="gpt-4o")
agent = ReActAgent.from_tools([answer_tool, search_tool], llm=llm, verbose=True)

# Research with verified answers
response = agent.chat("What are the latest findings on mRNA vaccine efficacy?")
print(response)

Available Tools

  • BrowseAIDevAnswerTool — Verified research with citations, confidence scores, contradiction detection
  • BrowseAIDevSearchTool — Web search returning ranked results
  • BrowseAIDevExtractTool — Extract structured claims from a URL
  • BrowseAIDevCompareTool — Compare raw LLM vs verified answer

All tools are returned as FunctionTool instances, compatible with any LlamaIndex agent.

Why BrowseAI Dev?

Unlike raw search APIs, BrowseAI Dev fact-checks results. Every answer includes per-claim verification (BM25 + NLI), cross-source consensus, contradiction detection, and 7-factor evidence-based confidence scores. Open source (MIT).

Links

License

MIT

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

llamaindex_browseaidev-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llamaindex_browseaidev-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file llamaindex_browseaidev-0.1.0.tar.gz.

File metadata

  • Download URL: llamaindex_browseaidev-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for llamaindex_browseaidev-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7a6b932b4890b1132f8a2b60d56e675daf4ce5fc2d34515734dc663f69814c78
MD5 d853a7bd86ef614ea218890a958b65a4
BLAKE2b-256 b2175cc291a24a2357ec616e826e960a60c668f927e84d6356436e4a46323add

See more details on using hashes here.

File details

Details for the file llamaindex_browseaidev-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llamaindex_browseaidev-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d41467c1ac04a2577bf8c708fea22cdb037af796c5b590aca4e94aa4575f22f7
MD5 1c84b6eaa21625b20fa2c4027e3205d8
BLAKE2b-256 5ab681aab7f1a1ebeb148c246519b3883c49c2c6ff33f1a6a2e3c81f844735da

See more details on using hashes here.

Supported by

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