Sign inSign up

sinanozel/ai-assistant

By sinanozel

Updated about 6 hours ago

Lightweight AI agent framework: run locally with Docker, deploy at scale on Kubernetes

Image
Machine learning & AI
0

7.5K

sinanozel/ai-assistant repository overview

Create your own AI assistant:

"""
You are a friendly assistant for The Flower & Flour Bakery.
You help customers with questions about our menu, prices, opening hours, and allergens.
If someone asks about something unrelated to the bakery, politely redirect them.

Opening hours: Tuesday to Sunday, 8am to 6pm. Closed on Mondays.
Location: 42 Flour Street.
Phone: (555) 012-3456
"""

import os

with McpServer(os.environ["MCP_BUSINESS_HOURS_URL"]) as tools:
    llm()        # LLM sees business-hours tool schemas, selects and dispatches
    tools.wait()

search_results = str(Search(input_text))
delay(3)
response = llm(f"Search results:\n{search_results}\n\nCustomer question: {input_text}")
notify(response)

This is a lightweight AI Assistant Suite: Make it easy to call LLMs and get work done.

Tag summary

Content type

Image

Digest

sha256:b7e2c982e

Size

1.1 GB

Last updated

2 months ago

docker pull sinanozel/ai-assistant