You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We can assign a url to the source. It would be nice if we could also pass in an headers such as API key to use our jina ai credits.
Describe the solution you'd like
Perhaps a source_config param?
smart_scraper_graph = SmartScraperGraph(
prompt="Find the yelp link, name, website, number of average yelp reviews , summary of yelp_reviews, specialties, phone, and their website",
source=f"https://s.jina.ai/{url_encoded_query}",
source_config= {
headers: {
"Authorization": f"Bearer {JINA_API_KEY}"
}
},
config=graph_config,
schema = Contractor
)
Describe alternatives you've considered
n/a
The text was updated successfully, but these errors were encountered:
angelotc
changed the title
Ability to add headers to source
Ability to add headers to source ( better integration with Jina AI)
Aug 11, 2024
Is your feature request related to a problem? Please describe.
We can assign a url to the
source
. It would be nice if we could also pass in an headers such as API key to use our jina ai credits.Describe the solution you'd like
Perhaps a
source_config
param?Describe alternatives you've considered
n/a
The text was updated successfully, but these errors were encountered: