Skip to content

inovex/talk-haystack_demo_meetup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haystack Meetup Demo

Haystack demonstration used for discussions during a DataScience Meetup: Meetup: Building LLM applications - inovex GmbH.

It showcases:

  • Index & Query Pipelines
  • Crawling website content
  • LLM integration & multi-turn conversations

Additionaly it contains a CustomPreprocessor which handles crawled websites.

Setup

Virtual Env & Dependencies

Install the dependencies inside requirements.txt. Execute the first cell in main.py to automatically install jupyter-notebook into the same environment.

Elasticsearch Documentstore

An Elasticsearch Documentstore is required to run the haystack demo. Deployment via docker is the easiest way.

docker network create elastic
docker run --name es01 --net elastic -p 9200:9200 -it -e "discovery.type=single-node" -e "xpack.security.enabled=false" -m 4GB docker.elastic.co/elasticsearch/elasticsearch:8.12.1

LLM API

LLM API credentials are required, to run later stages of the notebook. An .env file provides a credentials template. (We used gpt3.5 from azure. If you plan to use another model read the haystack-docs, since the initialization format changes.)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published