The script extracts text from a website and formats it for Azure Cognitive Search.
$ ghq get [email protected]:ktagashira/azure-cognitive-search-organizer.git
$ cd /path/to/this/repo
$ cp .env.sample .env
AZURE_OPEN_AI_BASE
AZURE_OPEN_AI_API_KEY
Please fill the credentials of Azure OpenAI SERVICE.AZURE_OPEN_AI_DEPLOYMENT
Please fill the model name you want to use.
First, please fill the .env
.
URL_FILE_PATH
The path to a CSV containing URLsURL_COLUMNS
CSV URL columnCLIENT_NAME
Client name(Used to store the execution results)
$ docker-compose up
$ docker-compose exec azure-cognitive-search-organizer /bin/bash
$ poetry run python3 src/main.py