Skip to main content

make_request_and_create_stream

Function make_request_and_create_stream 

Source
pub async fn make_request_and_create_stream<'a>(
    chat_request: LLMRequest,
    app_config: &ApplicationConfiguration,
) -> ChatbotResult<Pin<Box<Peekable<LinesStream<StreamReader<BoxStream<'a, Result<Bytes, Error>>, Bytes>>>>>>
Expand description

Makes a request to Azure and returns the resulting stream.