-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
smart_scraper_graph not including any URL links in the result anymore in a new docker enviroment.
#403
-
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': ''}}
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments
-
What's your configuration?
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
-
look at th edockerfile please
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment