It takes maybe 3 seconds per call. Should I still lead generate…? What would you do?

  • jaypeejay@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Fix the tech. Slow api calls are usually a result of slow running queries. Profile your app and look for n+1 queries

        • creativecode@alien.topOPB
          link
          fedilink
          English
          arrow-up
          1
          ·
          10 months ago

          You got that right… it’s calling to gpt-4 turbo for personalized recommendations text. So it recommends movies, books, etc. One call to get recommendations than another call per rec to get personalized synopsis text. I tried making it 2 big calls but it was surprisingly slower. Lmk if thoughts