Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OCI Data Science Model Deployment LLM Integration #17241

Merged
merged 31 commits into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
4caade9
Add Support for OCI DSC LLM AQUA Models in LlamaIndex
mrDzurb Nov 23, 2024
de77111
Add documentation
mrDzurb Dec 2, 2024
d62caf2
Fixes project.toml and adds default headers for the multi model infer…
mrDzurb Dec 8, 2024
9434fc5
Ruff fixes.
mrDzurb Dec 10, 2024
8d87880
Fixes collab link.
mrDzurb Dec 10, 2024
980bf04
Adjustments by black formatter.
mrDzurb Dec 11, 2024
80b2891
Merge branch 'main' into ODSC-63450/oci_odsc_llm
mrDzurb Dec 11, 2024
4c10eaf
Fixed the notebook formatting.
mrDzurb Dec 11, 2024
be37903
Merge branch 'main' into ODSC-63450/oci_odsc_llm
mrDzurb Dec 11, 2024
c12cfd9
Merge branch 'main' into ODSC-63450/oci_odsc_llm
mrDzurb Dec 12, 2024
f6e5b72
Adds requirements.txt
mrDzurb Dec 12, 2024
fa52f0f
Merge branch 'main' into ODSC-63450/oci_odsc_llm
mrDzurb Dec 12, 2024
67f5f73
Modifies BUILD file. Adds ads mapping.
mrDzurb Dec 13, 2024
7e864eb
Merge branch 'main' into ODSC-63450/oci_odsc_llm
mrDzurb Dec 15, 2024
89fd22d
restrict tests
logan-markewich Dec 19, 2024
30766e4
wrong key name
logan-markewich Dec 19, 2024
c763e65
Adjusts async tests
mrDzurb Dec 30, 2024
26f14c2
Merge branch 'main' into ODSC-63450/oci_odsc_llm
mrDzurb Dec 30, 2024
91460e7
Relaxes ORACLE-ADS dependency.
mrDzurb Dec 31, 2024
32f5749
Merge branch 'main' into ODSC-63450/oci_odsc_llm
mrDzurb Jan 2, 2025
295976e
Merge branch 'main' into ODSC-63450/oci_odsc_llm
mrDzurb Jan 3, 2025
071c9fb
Merge branch 'main' into ODSC-63450/oci_odsc_llm
mrDzurb Jan 7, 2025
83e27f4
Merge branch 'main' into ODSC-63450/oci_odsc_llm
mrDzurb Jan 8, 2025
ee80c86
Merge branch 'main' into ODSC-63450/oci_odsc_llm
mrDzurb Jan 11, 2025
44c2231
Merge branch 'main' into ODSC-63450/oci_odsc_llm
mrDzurb Jan 19, 2025
fc8489a
Merge branch 'main' into ODSC-63450/oci_odsc_llm
mrDzurb Jan 30, 2025
bac8343
Merge branch 'main' into ODSC-63450/oci_odsc_llm
mrDzurb Feb 2, 2025
5f51edd
Removes oracle-ads dependency form the pyproject.toml
mrDzurb Feb 4, 2025
4d30902
Merge branch 'main' into ODSC-63450/oci_odsc_llm
mrDzurb Feb 4, 2025
fd045d1
Fixes unit tests for utils module.
mrDzurb Feb 4, 2025
977304f
Merge branch 'main' into ODSC-63450/oci_odsc_llm
mrDzurb Feb 4, 2025
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
595 changes: 595 additions & 0 deletions docs/docs/examples/llm/oci_data_science.ipynb

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
llama_index/_static
.DS_Store
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
bin/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
etc/
include/
lib/
lib64/
parts/
sdist/
share/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
.ruff_cache

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints
notebooks/

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
pyvenv.cfg

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# Jetbrains
.idea
modules/
*.swp

# VsCode
.vscode

# pipenv
Pipfile
Pipfile.lock

# pyright
pyrightconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
poetry_requirements(
name="poetry",
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
GIT_ROOT ?= $(shell git rev-parse --show-toplevel)

help: ## Show all Makefile targets.
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[33m%-30s\033[0m %s\n", $$1, $$2}'

format: ## Run code autoformatters (black).
pre-commit install
git ls-files | xargs pre-commit run black --files

lint: ## Run linters: pre-commit (black, ruff, codespell) and mypy
pre-commit install && git ls-files | xargs pre-commit run --show-diff-on-failure --files

test: ## Run tests via pytest.
pytest tests

watch-docs: ## Build and watch documentation.
sphinx-autobuild docs/ docs/_build/html --open-browser --watch $(GIT_ROOT)/llama_index/
Loading
Loading