Home / Function/ test_langchain_fireworks_embedding_documents() — langchain Function Reference

test_langchain_fireworks_embedding_documents() — langchain Function Reference

Architecture documentation for the test_langchain_fireworks_embedding_documents() function in test_embeddings.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  09cf524c_2cb5_2d85_401b_abcd51df73da["test_langchain_fireworks_embedding_documents()"]
  83f1053c_e37c_aebf_247b_5ea06fa98641["test_embeddings.py"]
  09cf524c_2cb5_2d85_401b_abcd51df73da -->|defined in| 83f1053c_e37c_aebf_247b_5ea06fa98641
  style 09cf524c_2cb5_2d85_401b_abcd51df73da fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/fireworks/tests/integration_tests/test_embeddings.py lines 6–12

def test_langchain_fireworks_embedding_documents() -> None:
    """Test Fireworks hosted embeddings."""
    documents = ["foo bar"]
    embedding = FireworksEmbeddings(model="nomic-ai/nomic-embed-text-v1.5")
    output = embedding.embed_documents(documents)
    assert len(output) == 1
    assert len(output[0]) > 0

Domain

Subdomains

Frequently Asked Questions

What does test_langchain_fireworks_embedding_documents() do?
test_langchain_fireworks_embedding_documents() is a function in the langchain codebase, defined in libs/partners/fireworks/tests/integration_tests/test_embeddings.py.
Where is test_langchain_fireworks_embedding_documents() defined?
test_langchain_fireworks_embedding_documents() is defined in libs/partners/fireworks/tests/integration_tests/test_embeddings.py at line 6.

Analyze Your Own Codebase

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

Try Supermodel Free