Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

A simple, adaptable solution for analyzing and categorizing transactional documents using predefined evaluation criteria. Perfect for analysts, auditors, or developers seeking to automate document review in enterprise, finance, education, or public sector scenarios and more.

Reviewed: 22.07.2025
Reviewed: 22.09.2025

## Overview

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

This is a Generative AI-powered application that analyzes frames from uploaded videos or images to determine their suitability for PG-rated audiences. The application leverages Oracle Cloud Infrastructure (OCI) Generative AI Vision models, specifically Llama 3.2 in this case, to evaluate visual content for explicit or age-inappropriate material. This can also be adapted as needed to extract specific elements, text (such as license plates) and other use-cases.

<img src="./image.png">
</img>

Reviewed date: 22.09.2025

## Features
- Upload image or video files (`.jpg`, `.png`, `.mp4`, `.avi`, `.mov`).
- Automatically extract frames from videos at a user-defined interval.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

An enterprise-grade Retrieval-Augmented Generation (RAG) system for generating comprehensive business reports from multiple document sources using Oracle Cloud Infrastructure (OCI) Generative AI services.

Reviewed date: 22.09.2025

## Features

- **Multi-Document Processing**: Ingest and process PDF and XLSX documents
Expand Down
67 changes: 48 additions & 19 deletions ai/generative-ai-service/summarize-genai/README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,55 @@
# Document Summarization Using Oracle Generative AI

Text summarization, a core NLP task, unlocks the ability to distill lengthy content into concise, informative summaries. Large Language Models (LLMs) serve as powerful tools for summarizing a wide array of texts, including news articles, research papers, and technical documents. However, summarizing large documents comes with its own set of challenges, necessitating the application of specialized summarization strategies to indexed content.
Often, it would be useful to see a summary of a document before reading it fully. There are many reasons—for example, we could be in a time crunch and need to quickly understand a large amount of text at a high level. In the past, seeing a document summary would have been extremely difficult unless the author wrote one. However, now it can be possible anytime with [Oracle Cloud Infrastructure (OCI) Generative AI](https://www.oracle.com/uk/artificial-intelligence/generative-ai/generative-ai-service/). Simply upload any document and witness instant, efficient summarization.
This project will show you how to set up such a system, feed it documents, and have it deliver summaries that will help accelerate your organization’s efficiency.

In this article, we'll delve into the creation of a powerful document summarization solution leveraging Oracle Generative AI. Through the integration of Oracle Gen AI's advanced capabilities with cutting-edge technologies such as langchain. This codebase empowers users to effortlessly summarize extensive documents, harnessing the power of Oracle Generative AI Service.
<img src="./files/docSummarizeScreen.png">
</img>

Reviewed: 30.10.2024
## Prerequisites

1. Oracle Cloud account—[sign-up page](https://signup.cloud.oracle.com/)
2. Getting started with OCI Generative AI for summarization—[docs](https://docs.oracle.com/en-us/iaas/Content/generative-ai/use-playground-summarize.htm#playground-summarize)
3. OCI Generative AI—[Python SDK ](https://pypi.org/project/oci/)
4. Front-end framework—[Streamlit](https://streamlit.io/)
5. Development Framework-[LangChain](https://python.langchain.com/docs/get_started/introduction)


## Running the application

Open `files` directory in CLI

```console
cd files/
```

Install LangChain and OCI SDK

```console
pip install -U langchain oci
```

Install requirements

```console
pip install -r requirements. txt
```

For next step you will need [OCI Compartment ID](https://docs.oracle.com/en/cloud/foundation/cloud_architecture/governance/compartments.html#what-is-a-compartment)

Then run

```console
streamlit run ocidocumentSummarizeUpload.py
```

## Additional resources

- [How to run the application](https://www.youtube.com/watch?v=6A3KGyKy91Q&t=21s)
- [Blog - Different methods of sumarization](https://medium.com/@anshuman4luv/revolutionizing-document-summarization-innovative-methods-with-langchain-and-large-language-models-f12272c7e8cd)

## License

<img src="./files/docSummarize.png">
</img>

# When to use this asset?

See the README document in the /files folder.

# How to use this asset?

See the README document in the /files folder.

# License

Copyright (c) 2025 Oracle and/or its affiliates.

Licensed under the Universal Permissive License (UPL), Version 1.0.

See [LICENSE](https://github.com/oracle-devrel/technology-engineering/blob/main/LICENSE) for more details.
See [LICENSE](https://github.com/oracle-devrel/technology-engineering/blob/main/LICENSE) for more details.