pub struct AIResults {
pub input: String,
pub js_output: String,
pub content_output: Vec<String>,
pub screenshot_output: Option<Vec<u8>>,
}
Expand description
The AI data returned from a GPT.
Fields§
§input: String
The prompt used for the GPT.
js_output: String
The js output of the GPT response.
content_output: Vec<String>
The content output returned from the GPT response that is not a browser script, example: extracted data from the markup.
screenshot_output: Option<Vec<u8>>
The base64 image of the page.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AIResults
impl RefUnwindSafe for AIResults
impl Send for AIResults
impl Sync for AIResults
impl Unpin for AIResults
impl UnwindSafe for AIResults
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more