mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 18:50:33 +00:00
14 lines
342 B
Python
14 lines
342 B
Python
"""Test embedding model integration."""
|
|
|
|
from pydantic import SecretStr
|
|
|
|
from langchain_fireworks.embeddings import FireworksEmbeddings
|
|
|
|
|
|
def test_initialization() -> None:
|
|
"""Test embedding model initialization."""
|
|
FireworksEmbeddings(
|
|
model="nomic-ai/nomic-embed-text-v1.5",
|
|
api_key=SecretStr("test_api_key"),
|
|
)
|