Skip to content

Conversation

batdevis
Copy link
Collaborator

List of Changes

Update badAnswer query field.

curl example:

curl -X 'PATCH' "http://localhost:8080/sessions/$SESSION_ID/queries/$ID" \
    -H 'Content-Type: application/json'   -d '{
    "badAnswer": true
  }'

Motivation and Context

We want to save the feedback about the answer.

@batdevis batdevis requested a review from a team as a code owner October 11, 2024 09:55
Copy link

changeset-bot bot commented Oct 11, 2024

⚠️ No Changeset found

Latest commit: 9ca62dd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

github-actions bot commented Oct 22, 2024

Jira Pull Request Link

This Pull Request refers to the following Jira issue CAI-183

userId = '-'

SESSION_MAX_DURATION_DAYS = int(os.getenv('SESSION_MAX_DURATION_DAYS', '1'))
SESSION_MAX_DURATION_DAYS = float(os.getenv('CHB_SESSION_MAX_DURATION_DAYS', '1'))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why float?

@batdevis batdevis merged commit f346179 into main Oct 22, 2024
13 checks passed
@batdevis batdevis deleted the patch-query-api branch October 22, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants