Google El Carro Oracle
Google Cloud El Carro Oracle offers a way to run
Oracle
databases inKubernetes
as a portable, open source, community-driven, no vendor lock-in container orchestration system.El Carro
provides a powerful declarative API for comprehensive and consistent configuration and deployment as well as for real-time operations and monitoring. Extend yourOracle
database's capabilities to build AI-powered experiences by leveraging theEl Carro
Langchain integration.
This guide goes over how to use the El Carro
Langchain integration to store chat message history with the ElCarroChatMessageHistory
class. This integration works for any Oracle
database, regardless of where it is running.
Learn more about the package on GitHub.
Before You Begin
To run this notebook, you will need to do the following:
- Complete the Getting Started section if you would like to run your Oracle database with El Carro.
🦜🔗 Library Installation
The integration lives in its own langchain-google-el-carro
package, so we need to install it.
%pip install --upgrade --quiet langchain-google-el-carro langchain-google-vertexai langchain
Colab only: Uncomment the following cell to restart the kernel or use the button to restart the kernel. For Vertex AI Workbench you can restart the terminal using the button on top.
# # Automatically restart kernel after installs so that your environment can access the new packages
# import IPython
# app = IPython.Application.instance()
# app.kernel.do_shutdown(True)
🔐 Authentication
Authenticate to Google Cloud as the IAM user logged into this notebook in order to access your Google Cloud Project.
- If you are using Colab to run this notebook, use the cell below and continue.
- If you are using Vertex AI Workbench, check out the setup instructions here.
# from google.colab import auth
# auth.authenticate_user()