ScrapeGraphAI / Scrapegraph-ai

Python scraper based on AI
https://scrapegraphai.com
MIT License
13k stars 991 forks source link

Default Prompt template customization #421

Open salman-khandu opened 6 days ago

salman-khandu commented 6 days ago

Is there any way to customize prompt template ? Default prompt template i see is used from generate_answer_node_prompts.py file.

VinciGit00 commented 6 days ago

No, tell me an use case for this

salman-khandu commented 6 days ago

if user has some better prompt to define rather then rely on default one. Also what problem i have seen is there are some time i see response truncation so instead of returning json. can be return compress response and later we later transformed response. I observed cases where response is truncated even if see request body that pass to openai still has whole list but some of data truncated https://github.com/VinciGit00/Scrapegraph-ai/issues/414

VinciGit00 commented 6 days ago

hi, Im adding a way for additional informations, creating custom prompt it is too dangerous