Raglight

Latest version: v1.6.2

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

1.3.5

1.3.4

Fix bugs for streaming with Ollama.

1.3.2

Add new embeddings management.
Add class signatures into a new vector store collection.
Add streaming for Ollama provider.

1.3.1

Now you can config your Agentic RAG using all available parameters :

python
from raglight.rag.simple_agentic_rag_api import AgenticRAGPipeline
from raglight.config.agentic_rag_config import SimpleAgenticRAGConfig
from raglight.models.data_source_model import FolderSource, GitHubSource
from raglight.config.settings import Settings

Settings.setup_logging()

config = config = SimpleAgenticRAGConfig(
provider = Settings.OLLAMA.lower(), default "ollama"
model = Settings.DEFAULT_LLM, default "llama3"
k= 5,
max_steps = 4,
system_prompt = Settings.DEFAULT_AGENT_PROMPT
api_key="YOUR_API_KEY",
api_base: Settings.DEFAULT_OLLAMA_CLIENT
num_ctx: 8192
verbosity_level: 2
)

pipeline = AgenticRAGPipeline(knowledge_base=[
FolderSource(path="<path to your folder with pdf>/knowledge_base"),
GitHubSource(url="https://github.com/Bessouat40/RAGLight")
],
config=config)

pipeline.build()

response = pipeline.generate("How can I create an easy RAGPipeline using raglight framework ? Give me python implementation")
print(response)

1.3.0

You can now use Agentic RAG using RAGLight. You can setup one easily using default pipeline :

python
from raglight.rag.simple_agentic_rag_api import AgenticRAGPipeline
from raglight.models.data_source_model import FolderSource, GitHubSource
from raglight.config.settings import Settings

Settings.setup_logging()

pipeline = AgenticRAGPipeline(knowledge_base=[
FolderSource(path="<path to your folder with pdf>/knowledge_base"),
GitHubSource(url="https://github.com/Bessouat40/RAGLight")
],
model_name="llama3",
provider=Settings.OLLAMA,
k=5)

pipeline.build()

response = pipeline.generate("How can I create an easy RAGPipeline using raglight framework ? Give me python implementation")
print(response)

1.2.1

- Expose k for retrieval part
- Add Docker example

Page 3 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.