dontpanic
dontpanic
BRBuildShip + Rowy
Created by dontpanic on 8/14/2024 in #🌇・showcase-and-share
Love, your garden - Give your garden a voice
Check out the whole breakdown on Youtube: https://www.youtube.com/watch?v=5tmSbOADtSw, Project Overview: Love Your Garden Introduction: "Love Your Garden" is an AI that assists in managing a regenerative farm located in Bahrain. The goal is to optimize farm management, collect data on regenerative methods that work in our region, and serve as an educational resource. The farm, which doubles as an outdoor educational center, connects people with nature and teaches sustainable farming practices, particularly in our intense climatic conditions. Garden Intelligence: Speak to your garden. Your questions, observations, and tasks are logged and mapped. The voice of your garden guides you through plant care, organizes your task calendar, and reminds you when it needs something. For instance, you might receive a reminder: "Your pumpkins are due for a feeding. Sprinkle some compost 10 cm around the stem. Love, your garden." Technical Implementation: Buildship: Utilized for low-code development, including custom GPT models and AI assistants. Telegram bot: used for interface Supabase: database that manages entries and observations Postman: Used for API testing to ensure seamless communication between different components of the system. OpenAI Assistants: Used in buildship through their API Development Notebook on Notion: Tracks next steps and ongoing development tasks With access to new "AI primitives," the project can now structure unstructured data and track the current state of real-world objects, enhancing its ability to manage and monitor farm activities.
2 replies
BRBuildShip + Rowy
Created by dontpanic on 8/7/2024 in #❓・buildship-help
Airtable "Create Records" API Error
I'm trying to use the Airtable "Create Records" API to add multiple records at once. I'm passing the following response from the OpenAI Assistant:
{
"response": "{\"fields\":[{\"Date\":\"2024-08-06\",\"Item\":\"Duck Eggs\",\"Quantity\":30,\"Unit\":\"unit\",\"Notes\":\"harvested\"},{\"Date\":\"2024-08-06\",\"Item\":\"Chicken Eggs\",\"Quantity\":10,\"Unit\":\"unit\",\"Notes\":\"harvested\"}]}"
}
{
"response": "{\"fields\":[{\"Date\":\"2024-08-06\",\"Item\":\"Duck Eggs\",\"Quantity\":30,\"Unit\":\"unit\",\"Notes\":\"harvested\"},{\"Date\":\"2024-08-06\",\"Item\":\"Chicken Eggs\",\"Quantity\":10,\"Unit\":\"unit\",\"Notes\":\"harvested\"}]}"
}
I need to format this correctly to be used by the Airtable API. I've added an empty node in between to format it correctly, and this is the output: [{"fields":{"Date":"2024-08-06","Item":"Duck Eggs","Quantity":30,"Unit":"unit","Notes":"harvested"}},{"fields":{"Date":"2024-08-06","Item":"Chicken Eggs","Quantity":10,"Unit":"unit","Notes":"harvested"}}] It is happening occasionally, but this is NOT happening consistently. Any suggestions to get the appropriate input every time?
3 replies