AI Questions 11 total
AI ×
0
0
answers
1What is the difference between OpenAI GPT-4o and GPT-4o-mini?
Both are OpenAI models but optimised for different use cases:
| Feature | GPT-4o | GPT-4o-mini |
|---|---|---|
| Intelligence | Highest | G...
0
0
answers
2What are LangChain agents and how do they differ from chains?
**LangChain Chains:**
- Fixed, predefined sequence of steps
- The flow is hardcoded by the developer
- Deterministic — same input → same...
0
0
answers
3What is a vector database and why is it used in AI applications?
A vector database stores data as high-dimensional vectors (embeddings) and enables fast similarity search.
**Why it's needed:**
LLMs unders...
0
0
answers
4How to build a RAG chatbot with LangChain and Python?
Here is a simple RAG chatbot using LangChain:
```python
from langchain_openai import ChatOpenAI, OpenAIEmbeddings
from langchain_community....
0
0
answers
5What is the difference between ChatGPT, Claude, and Gemini?
All three are large language model (LLM) AI assistants:
| | ChatGPT | Claude | Gemini |
|---|---|---|---|
| Company | OpenAI | Anthropic | ...
0
0
answers
6What is prompt engineering and why does it matter?
Prompt engineering is the practice of designing and optimising text inputs (prompts) to get better outputs from AI language models.
**Why i...
0
0
answers
7What is overfitting and how do you prevent it?
Overfitting occurs when a model learns the training data too well (including noise), so it performs poorly on new data.
**Signs:** High tra...
0
0
answers
8How does a transformer model work?
A Transformer uses **self-attention** to process all tokens in a sequence simultaneously (unlike RNNs which process sequentially).
Key comp...
0
0
answers
9What is the difference between supervised and unsupervised learning?
**Supervised learning** — model learns from labelled data (input → output pairs)
- Examples: Linear regression, Random Forest, SVM
- Use...
0
0
answers
10What is LangChain and why is it used?
LangChain is a framework for building applications with Large Language Models (LLMs).
It provides:
- **Chains** — link multiple LLM calls...
18
1
answers
11How does RAG (Retrieval Augmented Generation) work in LangChain?
I am learning LangChain and trying to understand how RAG works. Can someone explain the concept with a simple example? I want to build a cha...