Skip to content

Commit

Permalink
feat: update prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
VinciGit00 committed Oct 18, 2024
1 parent 6069cb9 commit 407ebfd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scrapebiblio/utils/openai_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ def convert_text_to_markdown(text:str, api_key:str, model:str="gpt-4o")->str:
{"role": "system",
"content": "You are a helpful assistant that converts text to Markdown."},
{"role": "user",
"content": f"""Convert the following text to Markdown:\n
"content": f"""Convert the following text to a valid Markdown file and well
formatted:\n
regarding the images, please provide a description of it \n
{chunk_text}"""
}
Expand Down

0 comments on commit 407ebfd

Please sign in to comment.