Function Call with OpenAI using Bubble.io

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ต.ค. 2024

ความคิดเห็น • 6

  • @ronmartinez8781
    @ronmartinez8781 11 หลายเดือนก่อน +1

    Nicely delivered. Appreciate that you got right into it, rather than show us building a UI, authorization, etc. Please be encouraged to do more.

  • @michaelfraser7010
    @michaelfraser7010 ปีที่แล้ว +1

    thank you - very helpful. One thing I am curious about is the ability to update multiple fields in a database with a single call, rather than using one call for each field. Would be great if you could demonstrate or speak to that!

  • @josecolunga
    @josecolunga 10 หลายเดือนก่อน

    Awesome! Thanks!

  • @marcodisanto
    @marcodisanto ปีที่แล้ว

    Fantastic, exactly what I was looking for! How does it work if the individual values need to be inserted into a table? For example, 10 rows by 3 columns?

  • @guillemcastells9769
    @guillemcastells9769 ปีที่แล้ว

    After seeing the video lots of times I still try to make the function JSON Schema, if doesn't mind, would you help me?

    • @josecolunga
      @josecolunga 10 หลายเดือนก่อน

      {
      "model": "gpt-4-1106-preview",
      "messages": [
      {
      "role": "system",
      "content": "Tu nombre es Panda. Sos un amigable asistente de IA. Serás amable."
      },
      {
      "role": "system",
      "content": "¿Cómo puedo ayudarte hoy?"
      },
      {
      "role": "user",
      "content":
      }
      ],
      "functions": [
      {
      "name": "gen_Titles",
      "description": "Generates titles for the given text",
      "parameters": {
      "type": "object",
      "properties": {
      "paragraphs": {
      "type": "array",
      "items": {
      "type": "object",
      "properties": {
      "Id": {
      "type": "string",
      "description": "The sequence number of the title"
      },
      "Title": {
      "type": "string",
      "description": "The title of the blog"
      }
      },
      "required": ["Id", "Title"]
      }
      }
      }
      }
      }
      ],
      "function_call": {
      "name": "gen_Titles"
      }
      }