Questions about an analysis or forecast, answered by the model that wrote it
- 3 questions in every package, +5 questions add-on (1 000 Ft); question units, refund on failure - The answer sees the chart data, the analysis and earlier questions; at most 250 words - Editable question prompt (Promptok → Kérdés-válasz); admins regenerate answers - Package texts and FAQ updated Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -15,6 +15,7 @@ mod invitations;
|
||||
mod models;
|
||||
mod payments;
|
||||
mod prompts;
|
||||
mod questions;
|
||||
mod recalculate;
|
||||
mod shares;
|
||||
mod synastries;
|
||||
@@ -90,6 +91,8 @@ pub fn router(state: Arc<AppState>) -> Router {
|
||||
.route("/v1/invites/accept", post(synastries::accept_invite))
|
||||
// analyses
|
||||
.route("/v1/analyses/{id}", get(analyses::get_one))
|
||||
.route("/v1/analyses/{id}/questions", get(questions::list).post(questions::ask))
|
||||
.route("/v1/questions/{id}", get(questions::get_one))
|
||||
// sharing
|
||||
.route("/v1/shares", get(shares::list).post(shares::create))
|
||||
.route("/v1/shares/{id}", delete(shares::revoke))
|
||||
@@ -117,6 +120,7 @@ pub fn router(state: Arc<AppState>) -> Router {
|
||||
.route("/v1/admin/models/catalog", get(models::catalog))
|
||||
.route("/v1/admin/models/{kind}", axum::routing::put(models::save))
|
||||
.route("/v1/admin/analyses/{id}/regenerate", post(analyses::regenerate))
|
||||
.route("/v1/admin/questions/{id}/regenerate", post(questions::regenerate))
|
||||
.layer(cors(&state.config.cors_allowed_origins))
|
||||
.layer(
|
||||
TraceLayer::new_for_http()
|
||||
|
||||
Reference in New Issue
Block a user