Skip to main content

VisionLanguage.h File

Graph node factory for GenAI text and vision-language generation. More...

Included Headers

#include <cstdint> #include <memory> #include <string>

Namespaces Index

namespacesimaai
namespaceneat
namespacegraph
namespacegenai
namespacenodes

Classes Index

structVisionLanguageOptions

Description

Graph node factory for GenAI text and vision-language generation.

File Listing

The file content with the documentation metadata removed is:

1
5#pragma once
6
7#include <cstdint>
8#include <memory>
9#include <string>
10
11namespace simaai::neat::graph {
12class Node;
13} // namespace simaai::neat::graph
14
15namespace simaai::neat::genai {
16
17class VisionLanguageModel;
18
19namespace nodes {
20
22 std::string system_prompt;
23 std::uint32_t max_new_tokens = 0;
24 bool streaming = true;
26};
27
28std::shared_ptr<graph::Node> VisionLanguage(std::shared_ptr<VisionLanguageModel> model,
29 VisionLanguageOptions options = {},
30 std::string label = "vision_language");
31
32} // namespace nodes
33} // namespace simaai::neat::genai

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.