Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

smart_scraper_graph not including any URL links in the result anymore in a new docker enviroment. #403

Closed Unanswered
KaidiGuo asked this question in Q&A
Discussion options

I moved my script to a docker container environment and now the result doesn't have any URLs anymore.
Any idea what's causing this behaviour?

prompt

prompt_template = ("Extract the following information for the organization and return in json format: " 
 "The name of this organization as 'name'"
 "Summarize what does this organization do, what's their duty and what do they offer, as 'description';"
 "Choose the best fit association type based on descriptions. You have three choices: 1.Trade Association, 2.Regional Association, 3.Technical Association. Return as 'type': 'index'. Value should be 1 or 2 or 3."
 "URL to an downloadable image of this organization's logo as 'logo':{'url': some_url};"
 "The URL source parameter, which should have website_type 'Official Site'; Return as 'websites':{'website_type':'Official Site'}, 'url':'some_url'")

Local environment result

{'name': 'Entertainment Software Association of Canada', 
'description': "ESAC represents major video game console makers, publishers, large and small independent developers, and national distributors. It acts as the voice of Canada's entertainment software industry, working on behalf of member companies to foster a conducive environment for video game innovation, creation, and publication in Canada.", 
'type': 2, 
'logo': {'url': 'https://theesa.ca/wp-content/uploads/2022/03/ESAC_White_EN_R@4x.png'},
'websites': {'website_type': 'Official Site', 'url': 'https://theesa.ca/'}}

Docker environment result

{'name': 'Entertainment Software Association of Canada', 
'description': "The Entertainment Software Association of Canada (ESAC) represents major video game console makers, publishers, large and small independent developers, and national distributors. It acts as the voice of Canada's entertainment software industry, working on behalf of member companies to foster an environment conducive to innovation, creation, and publishing of video games in Canada. The organization highlights the economic impact of the video game industry, which contributes significantly to Canada's GDP and supports thousands of jobs.", 
'type': 2, 
'logo': {'url': ''},
'websites': {'website_type': 'Official Site', 'url': ''}}
You must be logged in to vote

Replies: 2 comments

Comment options

What's your configuration?

You must be logged in to vote
0 replies
Comment options

look at th edockerfile please

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /