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/langchain_community/embeddings
shahrin014 f51e6a35ba
community[patch]: OllamaEmbeddings - Pass headers to post request (#16880)
## Feature
- Set additional headers in constructor
- Headers will be sent in post request

This feature is useful if deploying Ollama on a cloud service such as
hugging face, which requires authentication tokens to be passed in the
request header.

## Tests
- Test if header is passed
- Test if header is not passed

Similar to https://github.com/langchain-ai/langchain/pull/15881

---------

Co-authored-by: Bagatur <baskaryan@gmail.com>
6 months ago
..
__init__.py community[minor]: Add solar embedding (#19761) 6 months ago
aleph_alpha.py
anyscale.py community[minor]: Add Anyscale embedding support (#17605) 6 months ago
awa.py
azure_openai.py multiple[patch]: fix deprecation versions (#18349) 7 months ago
baichuan.py infra: add print rule to ruff (#16221) 8 months ago
baidu_qianfan_endpoint.py community:qianfan endpoint support init params & remove useless params definietion (#15381) 9 months ago
bedrock.py community[patch]: Add explicit error message to Bedrock error output. (#17328) 6 months ago
bookend.py
clarifai.py community[patch] : Tidy up and update Clarifai SDK functions (#18314) 7 months ago
cloudflare_workersai.py
cohere.py cohere[patch]: add cohere as a partner package (#19049) 6 months ago
dashscope.py Fixing the Issue with DashScopeEmbeddings Handling More than 25 Rows of Data (#14662) 9 months ago
databricks.py docs: fix databricks document url (#19096) 6 months ago
deepinfra.py
edenai.py infra: add -p to mkdir in lint steps (#17013) 8 months ago
elasticsearch.py elasticsearch[patch], community[patch]: update references, deprecate community classes (#18506) 7 months ago
embaas.py infra: add -p to mkdir in lint steps (#17013) 8 months ago
ernie.py community[patch]: deprecate ErnieBotChat and ErnieEmbeddings classes (#15862) 8 months ago
fake.py
fastembed.py community[patch]: support fastembed v1 and v2 (#19125) 6 months ago
gigachat.py community[minor]: Added GigaChat Embeddings support + updated previous GigaChat integration (#19516) 6 months ago
google_palm.py
gpt4all.py
gradient_ai.py infra: add -p to mkdir in lint steps (#17013) 8 months ago
huggingface.py docs: HFEmbeddings: Add more information to model_kwargs/encode_kwargs (#19594) 6 months ago
huggingface_hub.py community[patch]: Fixed 'coroutine' object is not subscriptable error (#15986) 8 months ago
infinity.py community[patch]: infinity embeddings update incorrect default url (#16759) 7 months ago
infinity_local.py community[minor]: infinity embedding local option (#17671) 7 months ago
itrex.py community[minor]: Add ITREX optimized Embeddings (#18474) 6 months ago
javelin_ai_gateway.py infra: add print rule to ruff (#16221) 8 months ago
jina.py Refactor: use SecretStr for jina embeddings (#15068) 9 months ago
johnsnowlabs.py
laser.py community: Add Laser Embedding Integration (#18111) 7 months ago
llamacpp.py community[patch]: llama cpp embeddings reset default n_batch (#17594) 6 months ago
llamafile.py community[minor]: llamafile embeddings support (#17976) 7 months ago
llm_rails.py infra: add -p to mkdir in lint steps (#17013) 8 months ago
localai.py
minimax.py infra: add -p to mkdir in lint steps (#17013) 8 months ago
mlflow.py docs: fix databricks document url (#19096) 6 months ago
mlflow_gateway.py
modelscope_hub.py
mosaicml.py
nemo.py community[minor]: Nemo embeddings(#16206) 7 months ago
nlpcloud.py
oci_generative_ai.py community[patch]: docstrings (#16810) 8 months ago
octoai_embeddings.py community[patch]: octoai embeddings bug fix (#17216) 8 months ago
ollama.py community[patch]: OllamaEmbeddings - Pass headers to post request (#16880) 6 months ago
openai.py multiple[patch]: fix deprecation versions (#18349) 7 months ago
openvino.py community[minor]: Add Openvino embedding support (#19632) 6 months ago
optimum_intel.py community[minor]: Add QuantizedEmbedders (#17391) 7 months ago
premai.py community[minor]: Prem AI langchain integration (#19113) 6 months ago
sagemaker_endpoint.py community[patch]: Add explicit error message to Bedrock error output. (#17328) 6 months ago
self_hosted.py
self_hosted_hugging_face.py docs: Update documentation to use 'model_id' rather than 'model_name' to match actual API (#16615) 8 months ago
sentence_transformer.py
solar.py community[minor]: Add solar embedding (#19761) 6 months ago
spacy_embeddings.py infra: add -p to mkdir in lint steps (#17013) 8 months ago
sparkllm.py community[patch]: Fix sparkllm embeddings api bug. (#19122) 6 months ago
tensorflow_hub.py
text2vec.py Update text2vec.py (#19657) 6 months ago
vertexai.py Adds progress bar to VertexAIEmbeddings (#14542) 8 months ago
volcengine.py Feat add volcano embedding (#14693) 9 months ago
voyageai.py voyageai[patch]: init package (#19098) 6 months ago
xinference.py
yandex.py community[patch]: YandexGPT Use recent yandexcloud sdk version (#19341) 6 months ago