gproxy-protocol 3.0.0-alpha.0

GPROXY v3 protocol model: operation taxonomy, wire kinds, and the OperationSpec registry
Documentation
1
2
3
4
5
6
7
8
9
use crate::spec::Seg::Lit;
use crate::spec::{Affinity, OperationSpec};

use super::{FAM_OAI, NEVER, POST, billed, ing};

pub(super) const RERANK: OperationSpec = billed(
    &[ing(POST, &[Lit("v1"), Lit("rerank")], FAM_OAI, NEVER)],
    Affinity::None,
);