Hands on langchain
Put following files in the project root directory.
chat.env
openai_model_name = "gpt-35-turbo"
openai_deployment_id = "chat"
openai_api_type = "azure"
openai_api_key = "your-api-key"
openai_api_base = "https://AOAI_NAME.openai.azure.com/"
openai_api_version = "2023-07-01-preview"
azure_cognitive_search.env
service_name = "your-service-name"
index_name = "your-index-name"
api_key = "your-api-key"
Install dependencies
make install-deps-dev
Run API server
make run
Run docker container
# See Makefile to set environment variables via `--env` option
make docker-run
Play with API server
Run API server locally and access to the API server's swagger UI http://localhost:8888/docs
Run jupyterlab server as a playground
make jupyterlab
Run CI tests locally
make ci-test