You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/community/tests/unit_tests/embeddings
pjb157 479be3cc91
community[minor]: Unify Titan Takeoff Integrations and Adding Embedding Support (#18775)
**Community: Unify Titan Takeoff Integrations and Adding Embedding
Support**

 **Description:** 
Titan Takeoff no longer reflects this either of the integrations in the
community folder. The two integrations (TitanTakeoffPro and
TitanTakeoff) where causing confusion with clients, so have moved code
into one place and created an alias for backwards compatibility. Added
Takeoff Client python package to do the bulk of the work with the
requests, this is because this package is actively updated with new
versions of Takeoff. So this integration will be far more robust and
will not degrade as badly over time.

**Issue:**
Fixes bugs in the old Titan integrations and unified the code with added
unit test converge to avoid future problems.

**Dependencies:**
Added optional dependency takeoff-client, all imports still work without
dependency including the Titan Takeoff classes but just will fail on
initialisation if not pip installed takeoff-client

**Twitter**
@MeryemArik9

Thanks all :)

---------

Co-authored-by: Bagatur <baskaryan@gmail.com>
Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
5 months ago
..
__init__.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
test_deterministic_embedding.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
test_edenai.py infra: add print rule to ruff (#16221) 8 months ago
test_embaas.py infra: add print rule to ruff (#16221) 8 months ago
test_gradient_ai.py infra: add -p to mkdir in lint steps (#17013) 8 months ago
test_huggingface.py Community[patch]use secret str in Tavily and HuggingFaceInferenceEmbeddings (#16109) 8 months ago
test_imports.py community[minor]: Unify Titan Takeoff Integrations and Adding Embedding Support (#18775) 5 months ago
test_infinity.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
test_infinity_local.py community[minor]: infinity embedding local option (#17671) 7 months ago
test_llamafile.py community[minor]: llamafile embeddings support (#17976) 7 months ago
test_llm_rails.py infra: add print rule to ruff (#16221) 8 months ago
test_oci_gen_ai_embedding.py infra: add -p to mkdir in lint steps (#17013) 8 months ago
test_ollama.py community[patch]: OllamaEmbeddings - Pass headers to post request (#16880) 6 months ago
test_openai.py community[patch]: Fix chat openai unit test (#17124) 8 months ago
test_premai.py community[minor]: Prem AI langchain integration (#19113) 6 months ago
test_vertexai.py community[minor]: New model parameters and dynamic batching for VertexAIEmbeddings (#13999) 9 months ago
test_yandex.py community[patch]: Fix YandexGPT embeddings (#19720) 5 months ago