एक पंक्ति में परिचय
Spring AI Playground, Spring AI पर आधारित एक self-hosted प्रयोगात्मक web UI है, जिसे No-code/low-code tool बनाने से लेकर MCP कनेक्शन, inspection, debugging और agent chat testing तक सब कुछ एक ही जगह पर iterate करने के लिए बनाया गया है.

इस अपडेट की मुख्य बातें
Spring AI के आधिकारिक incubating project के रूप में पंजीकरण के बाद यह पहला feature update है, और इसमें “tool को statically define करके दोबारा deploy करने” के बजाय runtime में बनाना/तुरंत register करना/तुरंत verify करना वाले flow को और मजबूत किया गया है.

  • No-code Tool Studio: ब्राउज़र में JavaScript (ECMAScript 2023) से tool लिखें, संशोधित करें, और save करते ही बदलाव तुरंत लागू हो जाएँ—इस तरह tool development loop छोटा हो जाता है.
  • Live built-in MCP server: save किए गए tool, embedded MCP server में dynamically register हो जाते हैं ताकि restart के बिना तुरंत इस्तेमाल किए जा सकें (उदाहरण: http://localhost:8282/mcp).
    ​- MCP inspection & debugging: registered tool के schema, parameter और execution result को visualize किया जा सकता है, और interactive execution के जरिए debugging की जा सकती है.
  • Agentic chat: LLM reasoning → MCP tool selection/execution → (वैकल्पिक) RAG context तक, सब कुछ एक ही UI loop में end-to-end test किया जा सकता है.

Built-in example tools (copy/modify templates)
सिर्फ “demo” नहीं, बल्कि ऐसे template tools दिए गए हैं जो तुरंत चलाए जा सकते हैं (copy → modify → save → instant call), और ये सभी MCP से जुड़े होने के कारण inspection, modification और instant testing के लिए तैयार हैं.

  • googlePseSearch: Google Programmable Search Engine आधारित web search, जिसे key सेट करने पर तुरंत इस्तेमाल किया जा सकता है; यह “search-based agent” flow template है.
  • extractPageContent: URL से मुख्य text निकालता है, इसलिए “search → document reading → summary/evidence generation” जैसे workflow में जोड़ने के लिए उपयुक्त है.
  • buildGoogleCalendarCreateLink: schedule input लेकर Google Calendar का “Add event” link बनाने वाला action-type tool template.
  • sendSlackMessage: Slack Incoming Webhook के जरिए message भेजकर alert/automation flow को जल्दी verify किया जा सकता है.
  • openaiResponseGenerator: OpenAI API call example के रूप में “external LLM API call pattern” का template देता है (key सेट होने पर).
  • getWeather: wttr.in का उपयोग करके weather lookup करने वाला “external HTTP call/parsing” का न्यूनतम example.
  • getCurrentTime: ISO-8601 current time लौटाता है, जो time-dependent workflow (schedule/log/context) बनाने में उपयोगी है.

Execution/Environment
डिफ़ॉल्ट रूप से यह local environment में Ollama के साथ काम करता है, और OpenAI-compatible API को भी support करने वाली local-first configuration को लक्ष्य बनाता है. इसे Vector DB आधारित RAG experiments के साथ भी test किया जा सके, इस दिशा में तैयार किया गया है.

Links
GitHub: https://github.com/spring-ai-community/spring-ai-playground

अभी कोई टिप्पणी नहीं है.

अभी कोई टिप्पणी नहीं है.