Skip to content

Commit

Permalink
Merge pull request #222 from evaline-ju/update-detection-chat
Browse files Browse the repository at this point in the history
🔧 Remove context from chat endpoint in detector API
  • Loading branch information
gkumbhat authored Oct 3, 2024
2 parents 5ae4c2c + 56a7fcf commit 363656c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/api/openapi_detector_api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,12 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/v1/text/context/chat:
/api/v1/text/chat:
post:
summary: Chat Analysis Unary Handler
description: >-
Detectors that analyze chat messages and provide detections <br>
operationId: chat_analysis_unary_handler_api_v1_text_context_chat_post
operationId: chat_analysis_unary_handler_api_v1_text_chat_post
parameters:
- name: detector-id
in: header
Expand All @@ -143,8 +143,7 @@ paths:
items:
$ref: '#/components/schemas/ChatAnalysisResponse'
title: >-
Response Chat Analysis Unary Handler Api V1 Text Context Chat
Post
Response Chat Analysis Unary Handler Api V1 Text Chat Post
example:
- detection: "detection_type"
detection_type: "dummy_detector_type"
Expand Down

0 comments on commit 363656c

Please sign in to comment.