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

feat(Embeddings OpenAI Node): Add model parameter to OpenAI embeddings #8481

Merged
merged 2 commits into from
Jan 29, 2024

Conversation

OlegIvaniv
Copy link
Contributor

@OlegIvaniv OlegIvaniv commented Jan 29, 2024

Summary

This PR adds model parameter to OpenAI Embeddings to allow for selecting different embedding models.

Review / Merge checklist

  • PR title and summary are descriptive. Remember, the title automatically goes into the changelog. Use (no-changelog) otherwise. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.

    A bug is not considered fixed, unless a test is added to prevent it from happening again.
    A feature is not complete without tests.

@OlegIvaniv OlegIvaniv changed the title feat(EmbeddingsOpenAi Node) : Add model parameter to OpenAI embeddings feat(Embeddings OpenAI Node) : Add model parameter to OpenAI embeddings Jan 29, 2024
@OlegIvaniv OlegIvaniv changed the title feat(Embeddings OpenAI Node) : Add model parameter to OpenAI embeddings feat : Add model parameter to OpenAI embeddings Jan 29, 2024
@OlegIvaniv OlegIvaniv changed the title feat : Add model parameter to OpenAI embeddings feat: Add model parameter to OpenAI embeddings Jan 29, 2024
Signed-off-by: Oleg Ivaniv <[email protected]>
Copy link

cypress bot commented Jan 29, 2024

1 flaky test on run #3949 ↗︎

0 339 5 0 Flakiness 1

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 OlegIvaniv 🗃️ e2e/*
Project: n8n Commit: 3395f64de2
Status: Passed Duration: 03:19 💡
Started: Jan 29, 2024 3:26 PM Ended: Jan 29, 2024 3:29 PM
Flakiness  cypress/e2e/24-ndv-paired-item.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > resolves expression with default item when input node is not parent, while still pairing items Test Replay Screenshots Video

Review all test suite changes for PR #8481 ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@n8n-assistant n8n-assistant bot added the n8n team Authored by the n8n team label Jan 29, 2024
@OlegIvaniv OlegIvaniv merged commit 981ea39 into master Jan 29, 2024
29 checks passed
@OlegIvaniv OlegIvaniv deleted the openai-embeddingas-model-parameter branch January 29, 2024 15:34
MiloradFilipovic added a commit that referenced this pull request Jan 30, 2024
…error-states

* master:
  fix(editor): Send template id as a number in telemetry events (#8484)
  refactor(core): Replace promisify-d node calls with native promises (no-changelog) (#8464)
  fix(core): Fix stopping and retrying failed executions (#8480)
  feat: Add model parameter to OpenAI embeddings (#8481)
  fix(editor): Disable expression editor modal opening on readonly field (#8457)
  fix(core): Prevent calling internal hook email event if emailing is disabled (#8462)
@github-actions github-actions bot mentioned this pull request Jan 31, 2024
@netroy netroy changed the title feat: Add model parameter to OpenAI embeddings feat(Embeddings OpenAI Node): Add model parameter to OpenAI embeddings Jan 31, 2024
@janober
Copy link
Member

janober commented Feb 2, 2024

Got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants