" # you can use :memory: mode for fast and light-weight experiments,\n",
" # you can use :memory: mode for fast and light-weight experiments,\n",
" # it does not require to have Qdrant deployed anywhere\n",
" # it does not require to have Qdrant deployed anywhere\n",
" # but requires qdrant-client >= 1.1.1\n",
" # but requires qdrant-client >= 1.1.1\n",
" location=\":memory:\"\n",
" # location=\":memory:\"\n",
" # otherwise set Qdrant instance address with:\n",
" # otherwise set Qdrant instance address with:\n",
" # uri=\"http://<host>:<port>\"\n",
" # url=\"http://<host>:<port>\"\n",
" # otherwise set Qdrant instance with host and port:\n",
" host=\"localhost\",\n",
" port=6333\n",
" # set API KEY for Qdrant Cloud\n",
" # set API KEY for Qdrant Cloud\n",
" # api_key=\"<qdrant-api-key>\",\n",
" # api_key=\"<qdrant-api-key>\",\n",
")"
")"
...
...
%% Cell type:markdown id:dd821a8d tags:
%% Cell type:markdown id:dd821a8d tags:
<ahref="https://colab.research.google.com/github/run-llama/llama_index/blob/main/docs/docs/examples/vector_stores/QdrantIndexDemo.ipynb"target="_parent"><imgsrc="https://colab.research.google.com/assets/colab-badge.svg"alt="Open In Colab"/></a>
<ahref="https://colab.research.google.com/github/run-llama/llama_index/blob/main/docs/docs/examples/vector_stores/QdrantIndexDemo.ipynb"target="_parent"><imgsrc="https://colab.research.google.com/assets/colab-badge.svg"alt="Open In Colab"/></a>
response=awaitquery_engine.aquery("What did the author do growing up?")
response=awaitquery_engine.aquery("What did the author do growing up?")
```
```
%% Cell type:code id:c88ff475 tags:
%% Cell type:code id:c88ff475 tags:
``` python
``` python
display(Markdown(f"<b>{response}</b>"))
display(Markdown(f"<b>{response}</b>"))
```
```
%% Output
%% Output
<b>The author worked on writing short stories and programming, particularly on an IBM 1401 computer in 9th grade using an early version of Fortran. Later, the author transitioned to working on microcomputers, starting with a TRS-80 in about 1980, where they wrote simple games, programs, and a word processor.</b>
<b>The author worked on writing short stories and programming, particularly on an IBM 1401 computer in 9th grade using an early version of Fortran. Later, the author transitioned to working on microcomputers, starting with a TRS-80 in about 1980, where they wrote simple games, programs, and a word processor.</b>