AI

Hi there its the Health man! What would like to know about health and wellness?

recommend supplements for low Vitamin Dwhat medicine to take to not have a hangover?
How should it be used?
Use as web interface
Use a chrome extension
Use as API
Use a widget in mobile
bOT API
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 const callChatApi = async (question, apiKey) => { try { const response = await fetch('https://botsies.vercel.app/api/chat', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': `Bearer ${apiKey}`, }, body: JSON.stringify({ question }), }); if (response.ok) { const data = await response.json(); console.log('API response:', data); } else { console.error('API request failed:', response.statusText); } } catch (error) { console.error('API request failed:', error); } }; // Usage example: const question = 'How does the Notion API work?'; const apiKey = 'YOUR_API_KEY'; callChatApi(question, apiKey);