Fix dependency naming and Query Embedding Example#2583
Open
dvlasako wants to merge 4 commits intooracle-devrel:mainfrom
Open
Fix dependency naming and Query Embedding Example#2583dvlasako wants to merge 4 commits intooracle-devrel:mainfrom
dvlasako wants to merge 4 commits intooracle-devrel:mainfrom
Conversation
# Update: Prerequisites Section - `python-oracledb` package does not exist - corrected package name to `oracledb` # Update: Create Embedding for Query Example (now matches OCI SDK 2.167.1 (latest)) - Removed invalid import and usage of non-existent CohereEmbedTextRequest class (caused ImportError); embeddings use generic EmbedTextDetails/EmbedTextResult. - Updated EmbedTextDetails constructor: Replaced nested embed_text_request with direct parameters inputs=[question] and input_type="SEARCH_QUERY" (actual params: inputs, serving_mode, compartment_id, etc.). - Simplified response handling: Access vector directly via resp.data.embeddings[0] (as EmbedTextResult object); eliminated unnecessary oci.util.to_dict(resp.data) conversion.
…Gateway docs 1. Podman Volume Mount (Issue 1): Updated the podman run command to include a note on using absolute Windows paths for ~/.oci mounting, as Unix-style paths don't work reliably in Podman on Windows (requires shared/mounted directories in the Podman VM). 2. Gunicorn on Windows (Issue 2): Added a note under the production setup clarifying that Gunicorn is Linux-only and recommending alternatives like Uvicorn with PM2 or NSSM for Windows production scaling. 3. Base URL for Podman on Windows (Issue 3): Changed the recommended Base URL in n8n config from host.docker.internal (unreliable in Podman) to host.containers.internal, with fallbacks to localhost or explicit IP via --add-host for better cross-platform support.
…Gateway docs 1. Podman Volume Mount (Issue 1): Updated the `podman run` command to include a note on using absolute Windows paths for `~/.oci` mounting, as Unix-style paths don't work reliably in Podman on Windows (requires shared/mounted directories in the Podman VM). 2. Gunicorn on Windows (Issue 2): Added a note under the production setup clarifying that Gunicorn is Linux-only and recommending alternatives like Uvicorn with PM2 or NSSM for Windows production scaling. 3. Base URL for Podman on Windows (Issue 3): Changed the recommended Base URL in n8n config from `host.docker.internal` (unreliable in Podman) to `host.containers.internal`, with fallbacks to `localhost` or explicit IP via `--add-host` for better cross-platform support.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update: Prerequisites Section
python-oracledbpackage does not existoracledbUpdate: Create Embedding for Query Example (now matches OCI SDK 2.167.1)