Understanding Gen🔮AI!¶
Here you'll find what you need to know to understand (eventually) everything you need to know about creating and using Gen()AI.
Choose your adventure! See the primary components! What is this about?
Choose your adventure¶
How to go about understanding and building
graph TD
subgraph Understand["Start Here"]
WG["What is Gen()AI?"]
Examples["Examples"]
CH["Considerations"]
BB["Build or<br>Buy"]
end
subgraph Build["Build"]
Data["Data"]
MA["Architecture"]
AG["Agents"]
end
subgraph Buy["Buy it"]
SL["Evaluating"]
VI["Integrating"]
end
subgraph Use["Use"]
Deploy["Deploy"]
AIX["AI Experience"]
Compliance["Being Compliant"]
end
Understand --> Build --> Use
Understand --> Buy --> Use
click WG "./overview/index.html"
click CH "./overview/gen_ai/considerations.html"
click BB "../using/strategically/building_or_buying.html"
click Data "./data/index.html"
click MA "./architectures/index.html"
click Deploy "./deploying/index.html"
click AIX "./building_applications/front_end/index.html"
click AG "./agents/index.html"
click CM "../Using/commercial_markets.html"
click SL "../Using/solution_licensing.html"
click VI "../Using/vendor_integration.html"
click Examples "../Using/examples/index.html"
click Compliance "../Using/managing/index.html"
classDef warmColor fill:#f9d5e5,stroke:#333,stroke-width:2px;
classDef midColor fill:#f0e5d8,stroke:#333,stroke-width:2px;
classDef buyColor fill:#f4e7d3,stroke:#333,stroke-width:2px;
classDef coolColor fill:#d5e8d4,stroke:#333,stroke-width:2px;
class Understand warmColor;
class Build midColor;
class Buy buyColor;
class Use coolColor;
Component interactions¶
!!!+ tip "Component of LLM-based GenAI (clickable)"
graph TD
RawData[High Volume<br>Data] --> DataCleaning[Cleaned<br>Data]
DataCleaning --> PreTraining
subgraph LLMPreparation[" "]
Model --> Architecture
PreTraining --> Architecture
FineTuning <--> Architecture
Architecture <--> Optimization
end
BehaviorData[Behavior<br>Data] --> FineTuning
Architecture --> EmbeddingModel
Architecture <--> Orchestration
Architecture --> Hosting
Hosting[Deployment] <--> APIorCall[API/Call]
APIorCall <--> Orchestration
subgraph OrchestrationSubgraph[ ]
Agent[Agent]
Orchestration
Memory <--> Orchestration
Prompts --> Orchestration
CognitiveArchitectures[Cognitive<br>Architectures] --> Orchestration
Cache <--> Orchestration
Monitor <--> Orchestration
Clean <--> Orchestration
end
Orchestration <--> Database
Orchestration <--> Environment
Orchestration <--> Tools[Tools and<br>Plugins]
subgraph memory[" "]
RAG[Retrieval<br>Augmented<br>Generation]
DataPipeline[Data<br>Preparation] --> EmbeddingModel[Embedding<br>Model]
Orchestration --> EmbeddingModel
VectorDatabase[Vector<br>Database] --> Orchestration
end
ContextData[Context<br>Data] --> DataPipeline
EmbeddingModel --> VectorDatabase
Orchestration <--> FrontEnd
FrontEnd[Front<br>End] <--> User
classDef dataColor fill:#e6e6e6,stroke:#333,stroke-width:2px;
classDef llmColor fill:#add8e6,stroke:#333,stroke-width:2px;
classDef orchestrationColor fill:#f9d5e5,stroke:#333,stroke-width:2px;
classDef hostingColor fill:#fada5e,stroke:#333,stroke-width:2px;
classDef finalColor fill:#d4edda,stroke:#333,stroke-width:2px;
class RawData dataColor;
class DataCleaning dataColor;
class PreTraining dataColor;
class LLMPreparation llmColor;
class Model llmColor;
class FineTuning llmColor;
class Optimization llmColor;
class OrchestrationSubgraph orchestrationColor;
class Hosting hostingColor;
class APIorCall hostingColor;
class Cache hostingColor;
class Monitor hostingColor;
class Clean hostingColor;
class memory finalColor;
class FrontEnd finalColor;
class User finalColor;
click RawData "./data/index.html"
click DataCleaning "./data/selection.html"
click Architecture "./architectures/index.html"
click PreTraining "./architectures/training/pre-training.html"
click Model "./architectures/models/index.html"
click FineTuning "./architectures/training/finetuning.html"
click Optimization "./architectures/optimization.html"
click Hosting "./deploying/index.html"
click APIorCall "./api_call/index.html"
click Cache "./building_applications/back_end/memory.html#caching"
click Monitor "./deploying/monitoring.html"
click Clean "./cleaning/index.html"
click Memory "./agents/components/memory.html"
click Prompts "./prompting/index.html"
click CognitiveArchitectures "./agents/components/cognitive_architecture.html"
click Tools "./agents/actions_and_tools.html"
click Environment "./agents/environments.html"
click Database "./agents/components/memory.html"
click DataPipeline "./agents/rag.html#data-preparation"
click EmbeddingModel "./data/index.html#embedding"
click VectorDatabase "./agents/components/memory.html#vector-databases"
click FrontEnd "./deploying/front_end.html"
click User "./user/index.html"
click RAG "./agents/rag.html"
click Agent "./agents/index.html"
What is this about?¶
Generative Artificial Intelligence, and related General AI and General Super AI are components of what already is and may be the future of intelligence 🌟. We must effectively manage these technologies to use them to their highest potential.
To manage these technologies effectively and responsibly we must understand them 🚀. That is a complex task, especially given the speed at which we are generating novel insights, new discoveries, backed by increasingly powerful hardware.
We created Managen AI 🔮 to help you understand and use Gen()AI.
What do you need to know?
See these first
- 🤔 Understand use cases and think of the challenges associated with it.
- 📊 Understand the data and collect data that you need.
- 🚢 Consider Model Architectures and use pre-trained models if possible.
- 💬 Prompts govern how we interact with the models.
- 🛠️ Agents allow for models to be used in more useful, effective, and complex manners.
- 🧭 Consider Ethical concerns to ensure responsible use of these powerful technologies.
- 🏗️ Building your solution
In the documents you read here, you will be able to see an increasingly consistent and understandable discussion of Gen()AI technologies, enabled by Gen()AI technologies herein described. Like most powerful technology, Gen()AI can be a two-edged sword and effective use requires responsible and thoughtful understanding. ⚖️
How do you do stuff with Gen()AI?¶
🛠️ As part of understanding, you'll learn a number of 'how-to's, in this section. You will also want to look at the using guide which will help you to directly use GenAI without needing to wade too-deeply into the complexities of research and engineering associated with Gen()AI.
⾾ Competition is fierce to create the 'best' (based on certain metrics) Gen()AI, so much knowledge may not be known to protect IP and other secrets.
Still, these trained foundation models may be used, with varying degrees of open-source licensing, for your project. Open and closed-source pre-trained models are available in many places that can be used hosted by yourself, or enabled by API services. Because of the cost and challenge involved with creating these models, it will likely be necessary to use the ones already made.
If you are working on commercial projects, be sure to look at the Licenses to ensure you are legally compliant.
🚨 And please, whatever you do, be cognisant of the ethical concerns
Generative AI is a subset of machine learning that aim to creates new data samples or information based on an input. This technology has gained significant attention recently because they have been able to produce high-quality, realistic data across various domains, from images and videos to text and audio. 🌈
Presentation bias
This is presently highly transformer-based large-language models because language is presently more versatile than other modalities. Other models are discussed here. Many other techniques and technologies may not have entered into this yet. If you'd like to help us build this right, please consider contributing
Useful Resources¶
If you can't get enough here, check out the following resources