invalid JSON object: When using SelfQueryRetriever with huggingface llm

### System Info

```
langchain - 0.0.188
platform - CentOS Linux 7
python - 3.8.12
```

### Who can help?

@hwchase17 

### Information

- [ ] The official example notebooks/scripts
- [X] My own modified scripts

### Related Components

- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async

### Reproduction

Code snippet:
```
from langchain.retrievers.self_query.base import SelfQueryRetriever
from langchain.llms import HuggingFacePipeline
from langchain.embeddings.huggingface import HuggingFaceEmbeddings
from qdrant_client import QdrantClient
from langchain.vectorstores import Qdrant
from transformers import pipeline

metadata_field_info=[
    AttributeInfo(
        name="genre",
        description="The genre of the movie", 
        type="string or list[string]", 
    ),
    AttributeInfo(
        name="year",
        description="The year the movie was released", 
        type="integer", 
    ),
    AttributeInfo(
        name="director",
        description="The name of the movie director", 
        type="string", 
    ),
    AttributeInfo(
        name="rating",
        description="A 1-10 rating for the movie",
        type="float"
    ),
]

docs = [
    Document(page_content="A bunch of scientists bring back dinosaurs and mayhem breaks loose", metadata={"year": 1993, "rating": 7.7, "genre": "science fiction"}),
    Document(page_content="Leo DiCaprio gets lost in a dream within a dream within a dream within a ...", metadata={"year": 2010, "director": "Christopher Nolan", "rating": 8.2}),
    Document(page_content="A psychologist / detective gets lost in a series of dreams within dreams within dreams and Inception reused the idea", metadata={"year": 2006, "director": "Satoshi Kon", "rating": 8.6}),
    Document(page_content="A bunch of normal-sized women are supremely wholesome and some men pine after them", metadata={"year": 2019, "director": "Greta Gerwig", "rating": 8.3}),
    Document(page_content="Toys come alive and have a blast doing so", metadata={"year": 1995, "genre": "animated"}),
    Document(page_content="Three men walk into the Zone, three men walk out of the Zone", metadata={"year": 1979, "rating": 9.9, "director": "Andrei Tarkovsky", "genre": "science fiction", "rating": 9.9})
]

embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
vectorstore = Qdrant.from_documents(docs, embeddings, url=url, prefer_grpc=True, collection_name=collection_name)


pipe = pipeline("text2text-generation", model="lmsys/fastchat-t5-3b-v1.0", device=0)
llm = HuggingFacePipeline(pipeline=pipe)

document_content_description = "Brief summary of a movie"
retriever = SelfQueryRetriever.from_llm(llm, vectorstore, document_content_description, metadata_field_info, verbose=True)
retriever.get_relevant_documents("I want to watch a movie rated higher than 8.5")
```

Stack Trace:
```
Traceback (most recent call last):
  File "/media/data2/abhisek/pyenv/versions/rcp_vnv/lib/python3.8/site-packages/langchain/output_parsers/json.py", line 32, in parse_and_check_json_markdown
    json_obj = parse_json_markdown(text)
  File "/media/data2/abhisek/pyenv/versions/rcp_vnv/lib/python3.8/site-packages/langchain/output_parsers/json.py", line 25, in parse_json_markdown
    parsed = json.loads(json_str)
  File "/media/data2/abhisek/pyenv/versions/3.8.12/lib/python3.8/json/__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "/media/data2/abhisek/pyenv/versions/3.8.12/lib/python3.8/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/media/data2/abhisek/pyenv/versions/3.8.12/lib/python3.8/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/media/data2/abhisek/pyenv/versions/rcp_vnv/lib/python3.8/site-packages/langchain/chains/query_constructor/base.py", line 37, in parse
    parsed = parse_and_check_json_markdown(text, expected_keys)
  File "/media/data2/abhisek/pyenv/versions/rcp_vnv/lib/python3.8/site-packages/langchain/output_parsers/json.py", line 34, in parse_and_check_json_markdown
    raise OutputParserException(f"Got invalid JSON object. Error: {e}")
langchain.schema.OutputParserException: Got invalid JSON object. Error: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/media/data2/abhisek/pyenv/versions/rcp_vnv/lib/python3.8/site-packages/langchain/retrievers/self_query/base.py", line 79, in get_relevant_documents
    StructuredQuery, self.llm_chain.predict_and_parse(callbacks=None, **inputs)
  File "/media/data2/abhisek/pyenv/versions/rcp_vnv/lib/python3.8/site-packages/langchain/chains/llm.py", line 238, in predict_and_parse
    return self.prompt.output_parser.parse(result)
  File "/media/data2/abhisek/pyenv/versions/rcp_vnv/lib/python3.8/site-packages/langchain/chains/query_constructor/base.py", line 50, in parse
    raise OutputParserException(
langchain.schema.OutputParserException: Parsing text
<pad>``` json{   "query":  "movie
 raised following error:
Got invalid JSON object. Error: Expecting value: line 1 column 1 (char 0)
```

### Expected behavior

```
query=' ' filter=Comparison(comparator=<Comparator.GT: 'gt'>, attribute='rating', value=8.5) limit=None

[Document(page_content='Three men walk into the Zone, three men walk out of the Zone', metadata={'year': 1979, 'rating': 9.9, 'director': 'Andrei Tarkovsky', 'genre': 'science fiction'}),
 Document(page_content='A psychologist / detective gets lost in a series of dreams within dreams within dreams and Inception reused the idea', metadata={'year': 2006, 'director': 'Satoshi Kon', 'rating': 8.6})]
```