Works with the AI Agents you already use

    Smarthelp AI FAQ

    by Gashaw Fentaye

    1

    Operate and develop a self-hosted FastAPI FAQ service with semantic search and local Ollama fallback.

    $1

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Smarthelp AI FAQ

    Smarthelp AI FAQ

    Example session with this skill installed

    Ask the local SmartHelp instance "What is the return policy?" and tell me if it found a match in the database or used the AI.

    • Read your context and instructions
    • Compiled the smarthelp ai faq

    I queried the local SmartHelp API at http://127.0.0.1:8000/ask/ with your question. The system returned a result from the embedding_db source, meaning a high-confidence match was found in your stored FAQs.

    FAQ Query Result

    FieldValue
    QuestionWhat is the return policy?
    AnswerItems can be returned within 30 days of purchase with a valid receipt.
    Sourceembedding_db
    Similarity Score0.882
    StatusSuccess

    Next steps

    1. To see the full metadata for this entry, use the list FAQs command.
    2. If this answer is outdated, you will need to manually update the MongoDB entry as the API does not currently support updates.
    3. Use the /faq/ endpoint to add a new category for "Returns" if you want to group similar questions.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Self-hosting a customer service FAQ shouldn't mean wrestling with complex cloud dependencies or expensive per-query costs. This skill provides the operational logic and codebase expertise to manage a FastAPI and MongoDB-backed FAQ service with local semantic search.

    What it does

    • Semantic search management handles question answering using all-MiniLM-L6-v2 embeddings and a 0.75 cosine similarity threshold.
    • Ollama integration manages fallback logic to local LLMs when no FAQ entry meets the similarity threshold.
    • API orchestration performs operations against /faq/ and /ask/ endpoints for data ingestion and testing.
    • Offline deployment configures the environment for air-gapped or private network operation with cached models.
    • Codebase maintenance assists with extending the FastAPI source while preserving the self-hosted architecture.

    How it works

    1. Identify the mode by determining if the task is codebase development, API operation, or deployment configuration.
    2. Verify the environment by checking for a running MongoDB instance and local Ollama endpoint.
    3. Execute API actions using curl to list, create, or query FAQ entries against the target instance.
    4. Analyze responses by distinguishing between embedding_db matches and ollama_ai fallbacks to verify accuracy.

    Frameworks & tools

    Built for the SmartHelp AI stack: Python, FastAPI, MongoDB, Sentence Transformers, and Ollama. Works with local embedding models and standard HTTP clients.

    Why this beats prompting it yourself

    Generic prompts often struggle with the specific threshold logic and fallback routing required for this architecture. This skill understands the strict separation between database-verified answers and AI-generated fallbacks, preventing hallucinations in customer service contexts.

    Use cases

    • Deploy a self-hosted FAQ backend on a private corporate network.
    • Configure local Ollama fallbacks to ensure the system works without internet.
    • Bulk load company policy data into the MongoDB FAQ store via the API.
    • Troubleshoot semantic search failures where the similarity threshold is not met.

    Known limitations

    Does not include a frontend UI, authentication, or rate limiting. FAQ entries cannot be updated or deleted through the current API implementation.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 7 days ago

    Software
    Python

    Permissions

    Terminal / Shell
    Network Access
    Read Files
    Listed7 days ago

    What's inside

    Frequently Asked Questions

    This skill provides the operational logic and codebase expertise to manage a self-hosted FAQ system that uses semantic search to find exact answers, falling back to a local Ollama LLM only when no database match is found.

    You will need a running MongoDB instance and a local Ollama endpoint; the skill is designed to work with any AI agent capable of executing Python/FastAPI operations and HTTP requests.

    Yes, because it utilizes local Sentence Transformer embeddings and Ollama fallbacks, this skill is specifically architected to support air-gapped or private network deployments without cloud dependencies.

    You receive the full operational logic for managing API endpoints, handling semantic similarity thresholds, and orchestrating the fallback routing between the database and the LLM.

    The current version supports bulk data ingestion and querying, but it does not support updating or deleting existing entries; these must be managed directly within your MongoDB instance.

    It uses the all-MiniLM-L6-v2 model to create embeddings and applies a 0.75 cosine similarity threshold to ensure that only highly relevant answers are served from your database.

    New in APIs & Backend

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.