Skip to content

Commit

Permalink
data-explorer: refine the path of answer API
Browse files Browse the repository at this point in the history
  • Loading branch information
Mini256 committed Nov 11, 2023
1 parent 72ccfd0 commit fe5cd75
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import {FastifyPluginAsyncJsonSchemaToTs} from "@fastify/type-provider-json-schema-to-ts";
import {DateTime} from "luxon";
import {Question, QuestionStatus} from "../../../../plugins/services/explorer-service/types";
import {APIError} from "../../../../utils/error";
import sleep from "../../../../utils/sleep";
import {Question, QuestionStatus} from "../../../plugins/services/explorer-service/types";
import {APIError} from "../../../utils/error";
import sleep from "../../../utils/sleep";

const schema = {
summary: 'Answer new a question (full response)',
summary: 'Get answer of a new question',
description: 'Answer a question to the AI bot, he will return a sql query, and execute the query to get the result.',
tags: ['explorer'],
body: {
Expand Down

0 comments on commit fe5cd75

Please sign in to comment.