https://github.com/bilgeyucel/document-search-demo
Document Search Pipeline Using Haystack
https://github.com/bilgeyucel/document-search-demo
nlp rest-api semantic-search tutorial-code
Last synced: 2 months ago
JSON representation
Document Search Pipeline Using Haystack
- Host: GitHub
- URL: https://github.com/bilgeyucel/document-search-demo
- Owner: bilgeyucel
- Created: 2023-01-09T13:47:05.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-31T08:42:28.000Z (over 2 years ago)
- Last Synced: 2025-04-12T17:15:41.830Z (12 months ago)
- Topics: nlp, rest-api, semantic-search, tutorial-code
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🔎 Document Search Demo
This is the source code for [Using Haystack with REST API](https://haystack.deepset.ai/tutorials/20_using_haystack_with_rest_api) tutorial.
## Usage
Clone this repository and run `docker-compose up` inside *`/doc-search`* folder:
```sh
git clone https://github.com/bilgeyucel/document-search-demo
cd doc-search
docker-compose up
```
This will launch an empty Elasticsearch instance and the Haystack API. Test if everything is OK with the Haystack API by sending a cURL request to the `/initialized` endpoint. If everything works fine, you will get `true` as a response.
```sh
curl --request GET http://127.0.0.1:8000/initialized
```
To **upload your documents to Elasticsearch**, follow the [Indexing Files to Elasticsearch](https://haystack.deepset.ai/tutorials/20_using_haystack_with_rest_api#indexing-files-to-elasticsearch) section of the tutorial.