Skip to main content

Natural Language Question Answering Toolkit (Hybrid NLP + GenAI)

Project description

NLQcat: Natural Language Question Answering Toolkit

NLQcat is a production-ready, hybrid NLP + GenAI library that unifies classic linguistic analysis (spaCy) with modern semantic search (Vector Databases) and Large Language Models (LLMs) into a single, easy-to-use pipeline.

📦 Installation

pip install nlqcat
python -m spacy download en_core_web_sm

🚀 Quick Start (3-Line Example)

from nlqcat.core.pipeline import Pipeline

pipe = Pipeline(vector_store_type="chroma")
pipe.add_documents(["NLQcat combines linguistic NLP with semantic RAG."])
print(pipe.query("What does NLQcat do?")['answer'])

✨ Features

  • Hybrid Analysis: Seamlessly mixes spaCy's linguistic features (NER, POS tagging) with semantic embeddings.
  • Unified RAG Pipeline: Built-in Retrieve-Augmented Generation flow (Query -> Retrieve -> Answer).
  • Vector Store Support: Integrated ChromaDB client for local vector storage.
  • Modular Design: Plug-and-play components for Loaders, Preprocessors, and Agents.
  • LLM Ready: Simple OpenAIAgent integration for generative answers.

🗺️ Roadmap

  • Support for FAISS and Pinecone vector stores.
  • Integration with HuggingFace and Anthropic LLMs.
  • Advanced RAG techniques (Re-ranking, HyDE).
  • Async support for high-throughput pipelines.

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

nlqcat-0.1.0.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

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

nlqcat-0.1.0-py3-none-any.whl (27.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nlqcat-0.1.0.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nlqcat-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5e4d888456a61554241f9be95aa9ae672b576f75b7d1b1843d7a70a67f31795e
MD5 74be6238ebbc77381651eaeffe3c67f7
BLAKE2b-256 bd98104d2fc0d6fe6cf4ca9a8eda8a8d4bb282da7aca0a527757c1156f2fb448

See more details on using hashes here.

Provenance

The following attestation bundles were made for nlqcat-0.1.0.tar.gz:

Publisher: workflow.yml on AnirbansarkarS/NLqcat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: nlqcat-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 27.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nlqcat-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7cef68ced295b2eeb9894a4e1aa080f471252ca80594979814a45d28b591fa2a
MD5 5b1a99f97037cee00a2f5d34df75e21b
BLAKE2b-256 6d6cd994bbcf966327064f0235376cce6b6892fef1c9981a380062eecda769fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for nlqcat-0.1.0-py3-none-any.whl:

Publisher: workflow.yml on AnirbansarkarS/NLqcat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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