OpenAI Vector Store Integration avatar

OpenAI Vector Store Integration

Try for free

No credit card required

Go to Store
OpenAI Vector Store Integration

OpenAI Vector Store Integration

jiri.spilka/openai-vector-store-integration
Try for free

No credit card required

The Apify OpenAI Vector Store integration uploads data from Apify Actors to the OpenAI Vector Store linked to OpenAI Assistant.

FI

Fields Reading Problem

Open
fillipeweb opened this issue
10 days ago

When receiving data from Facebook ad library scraper by Curious Coder the run crashes reading the fields.

Dataset fields:

[ "ad_archive_id", "collation_count", "page_name", "page_id", "snapshot.body.text", "snapshot.cards[0].body", "snapshot.cards[0].link_description", "snapshot.caption", "snapshot.cta_type", "snapshot.link_url", "total_active_time", "start_date", "end_date" ]

jiri.spilka avatar

Thank you for reporting the issue!

The crash was caused by improper handling of nested or missing fields and array-based syntax (e.g., snapshot.cards[0].body). The following fixes were made:

  • Fields like snapshot.cards[0].body or snapshot.body.text are now safely handled, returning empty values if missing or out of range instead of crashing.
  • Array indexing and slicing (e.g., snapshot.cards[:].body) are now supported.

I have tested it, and it seems to be working without errors. Please try the latest version and let me know if any issues persist. Thank you! Jiri

Developer
Maintained by Apify

Actor Metrics

  • 25 monthly users

  • 11 bookmarks

  • 89% runs succeeded

  • 1.5 days response time

  • Created in Apr 2024

  • Modified 5 days ago