Home / File/ test_embeddings.py — langchain Source File

test_embeddings.py — langchain Source File

Architecture documentation for test_embeddings.py, a python file in the langchain codebase. 1 imports, 0 dependents.

File python CoreAbstractions MessageSchema 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  4d665b98_2841_6bb4_0d4a_ed71a047f724["test_embeddings.py"]
  35d610e9_dea1_50ba_f4e0_601d76f65bb2["langchain_fireworks.embeddings"]
  4d665b98_2841_6bb4_0d4a_ed71a047f724 --> 35d610e9_dea1_50ba_f4e0_601d76f65bb2
  style 4d665b98_2841_6bb4_0d4a_ed71a047f724 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"""Test embedding model integration."""

from langchain_fireworks.embeddings import FireworksEmbeddings


def test_initialization() -> None:
    """Test embedding model initialization."""
    FireworksEmbeddings(model="nomic-ai/nomic-embed-text-v1.5")

Subdomains

Dependencies

  • langchain_fireworks.embeddings

Frequently Asked Questions

What does test_embeddings.py do?
test_embeddings.py is a source file in the langchain codebase, written in python. It belongs to the CoreAbstractions domain, MessageSchema subdomain.
What functions are defined in test_embeddings.py?
test_embeddings.py defines 1 function(s): test_initialization.
What does test_embeddings.py depend on?
test_embeddings.py imports 1 module(s): langchain_fireworks.embeddings.
Where is test_embeddings.py in the architecture?
test_embeddings.py is located at libs/partners/fireworks/tests/unit_tests/test_embeddings.py (domain: CoreAbstractions, subdomain: MessageSchema, directory: libs/partners/fireworks/tests/unit_tests).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free