Genertaive AI Guide | Presentation and Docuemnts
Generative AI GuideGen AI Guide OverviewGenerative AI learn from data and generate new trajectories of data. This capability make it useful for creative application. It also help in personalization. Routine and repeative task like coding, draft email can also be done thru Gen AI. Gen AI ApplicationsGen AI and Large Langauge Model can do many traditional data science tasks with ease e.g. sentiment analysis, text classification, summarization, SEO generatio. LLM can also understand code and generate code in may programming languages |
Gen AI - Double Edge SwordChallenges in GenAIGen AI data generation is uncontrolled. It raised many challenges. Output can be unnatural, unethical or even illegal. There are copyright issues too. In addition there is data poison risks. GenAI OpportunitiesAbility to create new data make GenAI very powerful. It can create new design, personalized output. It can be useful in automation, drug discovery. |
GenAI and LLM UpdatesWhat is happening in Gen AI
How LLM are Evolving Every Month
|
Large Language Model GuideLLM OverviewUnderstand and generate human language, performing tasks like writing different kinds of creative content, translating languages, and answering your questions in an informative way. Multimodel LLMprocess and generate information beyond just text. They can handle data like images, audio, or even video, allowing them to understand the world in a more comprehensive way. |
Foundation Model GuideFoundation ModelUnlike traditional AI models trained for specific tasks, foundation models go through a general learning process. This allows them to be adapted to a wide range of tasks by fine-tuning them with additional focused training. Foundation Models act as platform for other model. They reduce the labeling requirement for other models. Example of Foundation Model - Google BERT, Open AI GPT -n series. For images DALL-E is famous FM. For music JukeBox is another famous FM. Now foundation models are developed for robotics like DeepMind's RT-2 for robotics and it shows potential for physical tasks. FM BenfitsTheir versatility is key, as a single foundation model can be fine-tuned for various tasks across different fields, from healthcare to manufacturing. This adaptability saves significant time and resources compared to training new models from scratch for each specific need. Additionally, the pre-training process imbues foundation models with a strong understanding of underlying patterns, leading to potentially more accurate results. This efficiency and potential for improved performance make foundation models a game-changer in accelerating AI development and innovation. |
Foundation Model Selection CriteriaFoundation Model
Here are factors what to consider:
FM vs LLM Selection
Selecting a foundation model and selecting an LLM (Large Language Model) are closely related, but not exactly the same. Here's how they differ:
|
Foundation Model VendorsOpen AIThe OpenAI API provides access to powerful large language models like GPT known for their impressive text generation and translation capabilities. It offers a pay-as-you-go pricing structure, making it a good option for exploring LLM functionalities or for projects with specific needs. In recent versions, OpenAI has demonstrated great capabilities on multi model. Open AII integrate well with Azure as Azure Open AI Services. Google GeminiGemini API, on the other hand, is Google's offering in the LLM arena. It boasts similar text-based functionalities as OpenAI, but also holds potential for future development beyond text. Currently in free access with usage limits, Gemini allows experimenting and building various applications like chatbots or creative tools. Its ability to integrate with other Google Cloud services might be an advantage for projects within the Google ecosystem. |
Prompt EngineeringPrompt EngineeringPrompts enable you to guide genAI model to produce outcome in required format. Prompt help GenAI to break a complex problem into smaller task and enable reasoning Prompt TemplatesUse a prompt template for consistency. Replace the placeholder element in prompt templates. Save time and effort by reducing the need to write multiple similar prompts. |
RAGRAGRAG is particularly beneficial when your application requires: RAG DisadvanatagesRAG is not useful: |
Fine-tuning a Foundation modelWhen to Fine-tune Foundation Model
Medical Diagnostics
When Fine-tuning not needed
General Knowledge Queries
|
Guardrails for Gen AIGenerative AI GuardrailsGenerative AI guardrails are a set of rules and limitations designed to keep AI outputs safe and aligned with ethical principles. This includes filtering harmful content, preventing bias, and safeguarding against the misuse of sensitive information. LLM GuardrailsLLM guardrails, a specific type of generative AI guardrail, focus on AI systems that generate text, translate languages, and write different kinds of creative content. LLM guardrails address unique challenges like prompt injection vulnerabilities, where malicious prompts can trick the LLM into revealing sensitive data. |
GenAI Security EnablementGen AI : Attack Surface
The very power of Generative AI (GenAI) introduces new attack surfaces that require vigilance. These vulnerabilities stem from GenAI's ability to process and generate data, making it susceptible to manipulation. Malicious actors could exploit this in several ways:
Action Plan to Secure Gen AI
Secure Data: Mitigate the risk of biased or poisoned data by implementing data quality checks, cleaning processes, and responsible sourcing practices. Anonymize sensitive information before feeding it into GenAI models.
|
Gen AI Enablement FrameworkStructured Framework
The GenAI Enablement Framework provides a structured approach to navigate the adoption of Generative AI (GenAI) within your organization. This framework outlines key guidelines to ensure a smooth integration process.
Stages and Steps
The GenAI Enablement Framework outlines a staged approach to GenAI adoption, guiding you from initial exploration to full-scale integration.
|
How to Build AI AssistantsDetermine Features NeededDeteremine whether you want assistant to do simple search e.g. travel, provide answer with reasoning. Determine whether you want to provide personalized recommendation e.g meal plan based on height, weight and preferences. In some cases Assitant may need to provide advnce pplan e.g financial plan based on logn term goal. More advance AI Assistant/Agent not only will plan but execute tasks e.g. build webpages suitable for my business and add it to websites and promote these. KreateBotsYou can build AI Assistant and all features you need or you can use Dataknobs Kreatebots to get featues and add custom capabilities you need. Dataknobs Kreatebots platform can help you build AI assistant 1) Wrapper on Open AI/Gemini 2)Add personalization 3) Add vector DB and Rag 4) Use fine tune model 5) Add function calling with langchain and other frameworks. Some features are standard e.g. Moderation, Prompt Injection checking, chatbot history, feedback collection. |
How to Evaluate GenAI and AI AssistantsEvaluate Gen AIUse variety of metrics - task completion, effort saved, user satisfaction in addition to technical metrics for Gen AI. Evaluate AI AssistantFor AI Assistant, evaluate each response to ensure AI assistant is giving relevant responses for question and context. |
Digital Human vs AI AssistantsDigital Human
Existence: Purely digital, existing in virtual environments.
AI Assistant
Functionality: Primarily task-oriented, .
|
Dataknobs - Kreate, Kontrols and KonbsKREATE - Content, Website and AI Assitant
Unifying your knowledge base, website, and AI assistant under one provider offers a powerful advantage: centralized content management. Imagine the efficiency of managing all your information in a single location. By consolidating your content, you ensure your website and AI assistant always access the most up-to-date data. This streamlined approach eliminates inconsistencies and simplifies content maintenance.
Co-pilot for Building AI AssistantKreatebots acts as your co-pilot in building AI assistants, simplifying the process even for those without coding experience. It streamlines development by generating basic AI assistants from your existing data and content. Kreatebots assists in building a Retrieval-Augmented Generation (RAG) model, the core of your assistant's understanding, and even helps fine-tune a pre-trained model for optimal performance. Beyond that, Kreatebots handles the heavy lifting of assembling the front-end user interface, back-end logic, and the API that connects everything together, essentially providing a one-stop shop for crafting your own AI assistant. |