You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deploying the chat function to Lambda Feedback is simple and straightforward, as long as the repository is within the [Lambda Feedback organization](https://github.com/lambda-feedback).
158
158
159
-
After configuring the repository, a [GitHub Actions workflow](.github/workflows/main.yml) will automatically build and deploy the evaluation function to Lambda Feedback as soon as changes are pushed to the main branch of the repository. For development, the [GitHub Actions Dev workflow](.github/workflows/dev.yml) also deploys a dev version of the function onto AWS.
159
+
After configuring the repository, a [GitHub Actions workflow](.github/workflows/main.yml) will automatically build and deploy the chat function to Lambda Feedback as soon as changes are pushed to the main branch of the repository. For development, the [GitHub Actions Dev workflow](.github/workflows/dev.yml) also deploys a dev version of the function onto AWS.
160
160
161
161
## Troubleshooting
162
162
163
163
### Containerized Function Fails to Start
164
164
165
-
If your evaluation function is working fine when run locally, but not when containerized, there is much more to consider. Here are some common issues and solution approaches:
165
+
If your chat function is working fine when run locally, but not when containerized, there is much more to consider. Here are some common issues and solution approaches:
166
166
167
167
**Run-time dependencies**
168
168
169
169
Make sure that all run-time dependencies are installed in the Docker image.
170
170
171
171
- Python packages: Make sure to add the dependency to the `requirements.txt` or `pyproject.toml` file, and run `pip install -r requirements.txt` or `poetry install` in the Dockerfile.
172
172
- System packages: If you need to install system packages, add the installation command to the Dockerfile.
173
-
- ML models: If your evaluation function depends on ML models, make sure to include them in the Docker image.
174
-
- Data files: If your evaluation function depends on data files, make sure to include them in the Docker image.
173
+
- ML models: If your chat function depends on ML models, make sure to include them in the Docker image.
174
+
- Data files: If your chat function depends on data files, make sure to include them in the Docker image.
0 commit comments