- Install pyenv
- Mac:
brew install pyenv
- Mac:
- Edit file
sample.env
and parameters. Rename file to .env- For installation,
OCI_PROFILE
environment parameter matching file ~/.oci/config
- For installation,
- Execute
source configureEnvironment.sh
. This script- Install version python 3.12 if not installed yet and set it as current local version (file
.python-version
) - Create environment for installing required packages. Use capability .nosync for avoiding problems with OneDrive (this trick only works in Mac so if you use OneDrive try another no-sync solution)
- Activate environment
- Install requirements.txt
- Install version python 3.12 if not installed yet and set it as current local version (file
- Get API keys and save in
.env
file
- LangChain:Oracle Cloud Infrastructure Generative AI
- LangChain Providers: Oracle Cloud Infrastructure (OCI)
- LangGraph
- LangGraph quickstart
We’re happy to share that our latest integration is now available on LangChain. This integration includes major updates with support for our latest models and features including: command-r/+, Llama 3, chat, and streaming. To use you should be transitioning to the new chat interface ‘ChatOCIGenAI’ (vs ‘OCIGenAI’ still supported for legacy models). To install use: pip install -qU langchain-community oci And basic usage examples are available here https://python.langchain.com/v0.2/docs/integrations/chat/oci_generative_ai/ and here https://python.langchain.com/v0.2/docs/integrations/llms/oci_generative_ai/ For any questions feel free to contact Arthur (@archeng) and myself on this channel or directly.