- info@trendnologies.com
- +91 86819 62962
- Chennai
- Coimbatore
- Bangalore
Data Chunking is the process of splitting large documents into
smaller pieces (chunks) so AI models can process and retrieve
information efficiently.
Benefits:
A Vector Database is a database that stores vector embeddings (numerical
representations of data) and performs similarity searches to find relevant
information.
It is mainly used in AI applications such as semantic search, chatbots, and
RAG systems.
Steps:
Flow:
User Query → Embedding → Similarity Search → Relevant Documents →
LLM → Final Answer
This process is called RAG (Retrieval-Augmented Generation).
MCP (Model Context Protocol) is an open standard developed by Anthropic
that enables AI models to connect with external tools, databases, and
applications using a common protocol.
Benefits:
MCP (Model Context Protocol) is an open standard developed by Anthropic
that enables AI models to connect with external tools, databases, and
applications using a common protocol.
Benefits:
We cannot directly increase it, but we can optimize it by:
When Deep Thinking is enabled, the model spends more time analyzing the problem, breaking it into smaller steps, and producing more detailed and accurate responses for complex tasks.
Common tools are:
Amazon Bedrock is a fully managed AWS service that allows developers to
build and deploy Generative AI applications using foundation models
without managing infrastructure.
A Context Window is the amount of information (tokens) an AI model can
process and remember in a single interaction. It includes prompts,
conversation history, and uploaded data.
The Attention Mechanism helps a model focus on the most important parts of the input while generating an output, improving understanding and accuracy.
Examples:
Common algorithms include:
These are used for trend analysis and price prediction.
Common databases:
Examples include MySQL, PostgreSQL, MongoDB, and Pinecone.
Common algorithms:
The four main components are:
Techniques include:
Common methods:
Common steps:
Machine Learning models are mainly classified into:
Linear Regression is used to predict a continuous value by finding the relationship between independent and dependent variables.
Steps:
Use historical data as input features and time-related variables (day, month, year, previous values) to train the model and predict future values.
ARIMA (AutoRegressive Integrated Moving Average) is a forecasting algorithm used to analyze historical patterns and predict future values in time-series data. It works well for non-seasonal time-series data.
LSTM (Long Short-Term Memory) is a type of recurrent neural network that learns patterns from sequential data and remembers long-term dependencies to predict future values.
Collect the last 7 days of data, preprocess it, convert it into sequences, and use it to train a forecasting model such as LSTM.
LSTM takes the previous 7 days as input, learns the patterns and dependencies, and predicts the next value based on those patterns.
Arrange the data chronologically with:
Never shuffle time-series data.
It is the balance between:
The goal is to achieve a balance for better model performance.
Batch Normalization normalizes data between layers during training to improve speed, stability, and model performance.
Gradient Clipping limits gradient values during training to prevent exploding gradients and stabilize the learning process.
L1 Regularization: Adds a penalty that can reduce some feature weights to zero. L2 Regularization: Adds a penalty that reduces feature weights but usually does not make them zero. Both help reduce overfitting.
Embeddings are numerical representations of data. Vectors are the numerical arrays used to represent the semantic meaning of text, images, or audio.
Class imbalance occurs when one class has significantly more samples than another, causing biased predictions. Techniques to solve it:
Transfer Learning is reusing a pre-trained model for a new task instead of training a model from scratch.
Flow:
Data Source → Chunking → Embedding → Vector Database → User Query → Similarity Search → Retrieved Data → LLM → Final Response
Semantic Search finds information based on meaning and context rather than exact keyword matching.
Semantic Search fiHallucinations are incorrect or fabricated responses generated by an LLM. They can be reduced using:
Examples:
Zero-shot: No examples are provided.
One-shot: One example is provided.
Few-shot: Multiple examples are provided.