ai jsx template
1.0.0
這是一個簡單的 AI.JSX 項目,示範如何使用ai-jsx
創建簡單的 AI 支援的應用程式。
這意味著盡可能簡單,因此這裡的應用程式沒有任何實際的 UI – 它只是將其輸出寫入控制台。
分叉/克隆此存儲庫。
設定OPENAI_API_KEY
環境變量,您可以從 OpenAI API 儀表板取得該變數。
運行npm install
。
運行npm start
。
您將看到如下輸出:
Oh, wond'rous beast of language, vast and strong, Whose depths of knowledge ne'er have been surpassed, A marvel wrought by human mind and thought, At once both tool and servant to be sought. A giant of the digital age's shore, This model hurls its answers from afar, And lingual shades and connotations more, In quest of all the questions we may parse. Its words and turns, its meanings manifold, A tangle of thesaurus and of wit, Yet all coheres, and all together holds, A master craftsman's hand within it. So let us hail this engine of the age, And marvel at its power and its stage.