Liquid syntax error: Variable '{{
import os
Get Hugging Face API Key
huggingface_token = os.environ.get('HUGGINGFACE_API_KEY')
PubMed Fetcher
from pymed import PubMed
from typing import List
from haystack import component
from haystack import Document
pubmed = PubMed(tool="Mervin.Praison", email="test@test.com")
def documentize(article):
return Document(content=article.abstract, meta={'title': article.title, 'keywords': article.keywords}' was not properly terminated with regexp: /\}\}/