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
Copy file name to clipboardExpand all lines: README.md
+19-2Lines changed: 19 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -236,8 +236,9 @@ Note: settings starting with `AZURE_SEARCH` are only needed when using Azure Ope
236
236
|PROMPTFLOW_ENDPOINT||URL of the deployed Promptflow endpoint e.g. https://pf-deployment-name.region.inference.ml.azure.com/score|
237
237
|PROMPTFLOW_API_KEY||Auth key for deployed Promptflow endpoint. Note: only Key-based authentication is supported.|
238
238
|PROMPTFLOW_RESPONSE_TIMEOUT|120|Timeout value in seconds for the Promptflow endpoint to respond.|
239
-
|PROMPTFLOW_REQUEST_FIELD_NAME|question|Default field name to construct Promptflow request. Note: chat_history is auto constucted based on the interaction, if your API expects other mandatory field you will need to change the request parameters under `promptflow_request` function.|
240
-
|PROMPTFLOW_RESPONSE_FIELD_NAME|answer|Default field name to process the response from Promptflow request.|
239
+
|PROMPTFLOW_REQUEST_FIELD_NAME|query|Default field name to construct Promptflow request. Note: chat_history is auto constucted based on the interaction, if your API expects other mandatory field you will need to change the request parameters under `promptflow_request` function.|
240
+
|PROMPTFLOW_RESPONSE_FIELD_NAME|reply|Default field name to process the response from Promptflow request.|
241
+
|PROMPTFLOW_CITATIONS_FIELD_NAME|documents|Default field name to process the citations output from Promptflow request.|
241
242
242
243
## Contributing
243
244
@@ -253,6 +254,22 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope
253
254
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
254
255
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
255
256
257
+
When contributing to this repository, please help keep the codebase clean and maintainable by running
258
+
the formatter and linter with `npm run format` this will run `npx eslint --fix` and `npx prettier --write`
259
+
on the frontebnd codebase.
260
+
261
+
If you are using VSCode, you can add the following settings to your `settings.json` to format and lint on save:
262
+
263
+
```json
264
+
{
265
+
"editor.codeActionsOnSave": {
266
+
"source.fixAll.eslint": "explicit"
267
+
},
268
+
"editor.formatOnSave": true,
269
+
"prettier.requireConfig": true,
270
+
}
271
+
```
272
+
256
273
## Trademarks
257
274
258
275
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft
0 commit comments