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/llms
Robby 0653aa469a
community[patch]: Invoke callback prior to yielding token (#17346)
**Description:** Invoke callback prior to yielding token in stream
method for watsonx.
**Issue:** [Callback for on_llm_new_token should be invoked before the
token is yielded by the model
#16913](https://github.com/langchain-ai/langchain/issues/16913)

Co-authored-by: Robby <h0rv@users.noreply.github.com>
5 months ago
..
grammars community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
__init__.py community: Add Baichuan LLM to community (#16724) 6 months ago
ai21.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
aleph_alpha.py infra: add print rule to ruff (#16221) 5 months ago
amazon_api_gateway.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
anthropic.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
anyscale.py community[patch]: Modify LLMs/Anyscale work with OpenAI API v1 (#14206) 5 months ago
aphrodite.py community[minor]: Add Aphrodite Engine support (#14759) 7 months ago
arcee.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
aviary.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
azureml_endpoint.py community[patch]: chat model mypy fixes (#17061) 5 months ago
baichuan.py infra: add -p to mkdir in lint steps (#17013) 5 months ago
baidu_qianfan_endpoint.py community:qianfan endpoint support init params & remove useless params definietion (#15381) 7 months ago
bananadev.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
baseten.py community: refactor Baseten integration with new API endpoints & docs (#15017) 7 months ago
beam.py infra: add print rule to ruff (#16221) 5 months ago
bedrock.py community[patch]: Allow adding ARNs as model_id to support Amazon Bedrock custom models (#16800) 5 months ago
bittensor.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
cerebriumai.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
chatglm.py <langchain_community\llms\chatglm.py>: <Correcting "history"> (#16729) 6 months ago
chatglm3.py community: Add ChatGLM3 (#15265) 6 months ago
clarifai.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
cloudflare_workersai.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
cohere.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
ctransformers.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
ctranslate2.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
databricks.py community[patch]: Support SerDe transform functions in Databricks LLM (#16752) 5 months ago
deepinfra.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
deepsparse.py infra: add print rule to ruff (#16221) 5 months ago
edenai.py community: replace deprecated davinci models (#14860) 7 months ago
fake.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
fireworks.py docs: docstrings `langchain_community` update (#14889) 7 months ago
forefrontai.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
gigachat.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
google_palm.py community[patch]: more deprecations (#15782) 6 months ago
gooseai.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
gpt4all.py community[patch]: Enable streaming for GPT4all (#16392) 6 months ago
gradient_ai.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
huggingface_endpoint.py community[patch]: added 'conversational' as a valid task for hugginface endopoint models (#15761) 6 months ago
huggingface_hub.py community[patch]: Fix the _call of HuggingFaceHub (#16891) 5 months ago
huggingface_pipeline.py community: add runtime kwargs to HuggingFacePipeline (#17005) 5 months ago
huggingface_text_gen_inference.py infra: add print rule to ruff (#16221) 5 months ago
human.py infra: add print rule to ruff (#16221) 5 months ago
javelin_ai_gateway.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
koboldai.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
konko.py community[minor]: Adding Konko Completion endpoint (#15570) 6 months ago
llamacpp.py infra: add print rule to ruff (#16221) 5 months ago
loading.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
manifest.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
minimax.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
mlflow.py Remove unused `Params` (#14385) 6 months ago
mlflow_ai_gateway.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
modal.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
mosaicml.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
nlpcloud.py community[patch]: fix top_p type hint (#15452) 6 months ago
oci_data_science_model_deployment_endpoint.py docs, community[patch], experimental[patch], langchain[patch], cli[pa… (#15412) 7 months ago
oci_generative_ai.py community[patch]: docstrings (#16810) 5 months ago
octoai_endpoint.py community[minor]: Update OctoAI LLM, Embedding and documentation (#16710) 6 months ago
ollama.py infra: add -p to mkdir in lint steps (#17013) 5 months ago
opaqueprompts.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
openai.py openai[patch]: Explicitly support embedding dimensions (#16596) 6 months ago
openllm.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
openlm.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
pai_eas_endpoint.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
petals.py Refactor: use SecretStr for Petals llms (#15121) 7 months ago
pipelineai.py infra: add -p to mkdir in lint steps (#17013) 5 months ago
predibase.py Refactor: use SecretStr for Predibase llms (#15119) 7 months ago
predictionguard.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
promptlayer_openai.py Do not issue beta or deprecation warnings on internal calls (#15641) 6 months ago
replicate.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
rwkv.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
sagemaker_endpoint.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
self_hosted.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
self_hosted_hugging_face.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
stochasticai.py infra: add -p to mkdir in lint steps (#17013) 5 months ago
symblai_nebula.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
textgen.py infra: add print rule to ruff (#16221) 5 months ago
titan_takeoff.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
titan_takeoff_pro.py docs: docstrings `langchain_community` update (#14889) 7 months ago
together.py together[minor]: add llm (#15853) 6 months ago
tongyi.py community[patch]: docstrings (#16810) 5 months ago
utils.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
vertexai.py infra: add -p to mkdir in lint steps (#17013) 5 months ago
vllm.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
volcengine_maas.py Refactor: use SecretStr for VolcEngineMaas llms (#15117) 7 months ago
watsonxllm.py community[patch]: Invoke callback prior to yielding token (#17346) 5 months ago
writer.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
xinference.py docs: docstrings `langchain_community` update (#14889) 7 months ago
yandex.py community[patch]: chat model mypy fixes (#17061) 5 months ago