- Home
- Skills
- APIs & Backend
- Smarthelp AI FAQ
Works with the AI Agents you already use
Smarthelp AI FAQ
Operate and develop a self-hosted FastAPI FAQ service with semantic search and local Ollama fallback.
$1
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
| Field | Value |
|---|---|
| Question | What is the return policy? |
| Answer | Items can be returned within 30 days of purchase with a valid receipt. |
| Source | embedding_db |
| Similarity Score | 0.882 |
| Status | Success |
Next steps
- To see the full metadata for this entry, use the list FAQs command.
- If this answer is outdated, you will need to manually update the MongoDB entry as the API does not currently support updates.
- 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-v2embeddings and a0.75cosine 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
- Identify the mode by determining if the task is codebase development, API operation, or deployment configuration.
- Verify the environment by checking for a running MongoDB instance and local Ollama endpoint.
- Execute API actions using
curlto list, create, or query FAQ entries against the target instance. - Analyze responses by distinguishing between
embedding_dbmatches andollama_aifallbacks 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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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
What's inside
Frequently Asked Questions
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.