Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔧 Remove context from chat endpoint in detector API #222

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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