
OpenAI Vector Store Integration
No credit card required

OpenAI Vector Store Integration
No credit card required
The Apify OpenAI Vector Store integration uploads data from Apify Actors to the OpenAI Vector Store linked to OpenAI Assistant.
Fields Reading Problem
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" ]

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
orsnapshot.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
Actor Metrics
25 monthly users
-
11 bookmarks
89% runs succeeded
1.5 days response time
Created in Apr 2024
Modified 5 days ago