langflow-ai / langflow

Langflow is a low-code app builder for RAG and multi-agent AI applications. It’s Python-based and agnostic to any model, API, or database.
http://www.langflow.org
MIT License
35.41k stars 4.21k forks source link

refactor: updates import statements to use Pydantic in aiml_embeddings.py #4801

Closed ogabrielluiz closed 14 hours ago

ogabrielluiz commented 1 day ago

This PR updates the import statements in aiml_embeddings.py to correctly reference Pydantic, ensuring compatibility and proper functionality of the code. The previous imports from langchain_core.pydantic_v1 have been replaced with direct imports from pydantic.

codspeed-hq[bot] commented 1 day ago

CodSpeed Performance Report

Merging #4801 will degrade performances by 16.95%

Comparing fix-aiml-imports (abbd906) with main (3e1b22b)

Summary

❌ 1 regressions
✅ 14 untouched benchmarks

:warning: Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main fix-aiml-imports Change
test_successful_run_with_output_type_any 257.9 ms 310.6 ms -16.95%