langchain/libs/community/langchain_community/llms
Bitmonkey 570d45b2a1
Update ollama.py with optional raw setting. (#21486)
Ollama has a raw option now. 

https://github.com/ollama/ollama/blob/main/docs/api.md

Thank you for contributing to LangChain!

- [ ] **PR title**: "package: description"
- Where "package" is whichever of langchain, community, core,
experimental, etc. is being modified. Use "docs: ..." for purely docs
changes, "templates: ..." for template changes, "infra: ..." for CI
changes.
  - Example: "community: add foobar LLM"


- [ ] **PR message**: ***Delete this entire checklist*** and replace
with
    - **Description:** a description of the change
    - **Issue:** the issue # it fixes, if applicable
    - **Dependencies:** any dependencies required for this change
- **Twitter handle:** if your PR gets announced, and you'd like a
mention, we'll gladly shout you out!


- [ ] **Add tests and docs**: If you're adding a new integration, please
include
1. a test for the integration, preferably unit tests that do not rely on
network access,
2. an example notebook showing its use. It lives in
`docs/docs/integrations` directory.


- [ ] **Lint and test**: Run `make format`, `make lint` and `make test`
from the root of the package(s) you've modified. See contribution
guidelines for more: https://python.langchain.com/docs/contributing/

Additional guidelines:
- Make sure optional dependencies are imported within a function.
- Please do not add dependencies to pyproject.toml files (even optional
ones) unless they are required for unit tests.
- Most PRs should not touch more than one package.
- Changes should be backwards compatible.
- If you are adding something to community, do not re-import it in
langchain.

If no one reviews your PR within a few days, please @-mention one of
baskaryan, efriis, eyurtsev, hwchase17.

---------

Co-authored-by: Isaac Francisco <78627776+isahers1@users.noreply.github.com>
Co-authored-by: isaac hershenson <ihershenson@hmc.edu>
2024-06-14 17:19:26 -07:00
..
grammars
__init__.py community: minor changes sambanova integration (#21231) 2024-05-06 13:28:35 -07:00
ai21.py
aleph_alpha.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
amazon_api_gateway.py
anthropic.py (all): update removal in deprecation warnings from 0.2 to 0.3 (#21265) 2024-05-03 14:29:36 -04:00
anyscale.py patch: remove usage of llm, chat model __call__ (#20788) 2024-04-24 19:39:23 -04:00
aphrodite.py
arcee.py
aviary.py
azureml_endpoint.py infra: rm unused # noqa violations (#22049) 2024-05-22 15:21:08 -07:00
baichuan.py docs: community docstring updates (#21040) 2024-04-29 17:40:23 -04:00
baidu_qianfan_endpoint.py patch: remove usage of llm, chat model __call__ (#20788) 2024-04-24 19:39:23 -04:00
bananadev.py
baseten.py
beam.py
bedrock.py community[minor]: import fix (#20995) 2024-04-29 10:32:50 -04:00
bigdl_llm.py community[minor]: import fix (#20995) 2024-04-29 10:32:50 -04:00
bittensor.py
cerebriumai.py
chatglm3.py patch: remove usage of llm, chat model __call__ (#20788) 2024-04-24 19:39:23 -04:00
chatglm.py patch: remove usage of llm, chat model __call__ (#20788) 2024-04-24 19:39:23 -04:00
clarifai.py patch: remove usage of llm, chat model __call__ (#20788) 2024-04-24 19:39:23 -04:00
cloudflare_workersai.py
cohere.py (all): update removal in deprecation warnings from 0.2 to 0.3 (#21265) 2024-05-03 14:29:36 -04:00
ctransformers.py patch: remove usage of llm, chat model __call__ (#20788) 2024-04-24 19:39:23 -04:00
ctranslate2.py
databricks.py ci: Add script to check for pickle usage in community (#22863) 2024-06-13 16:13:15 -04:00
deepinfra.py community[patch]: fix deepinfra inference (#22680) 2024-06-10 13:55:55 -07:00
deepsparse.py patch: remove usage of llm, chat model __call__ (#20788) 2024-04-24 19:39:23 -04:00
edenai.py
exllamav2.py community[minor]: add exllamav2 library for GPTQ & EXL2 models (#17817) 2024-04-27 00:44:43 +00:00
fake.py
fireworks.py (all): update removal in deprecation warnings from 0.2 to 0.3 (#21265) 2024-05-03 14:29:36 -04:00
forefrontai.py
friendli.py
gigachat.py
google_palm.py
gooseai.py
gpt4all.py patch: remove usage of llm, chat model __call__ (#20788) 2024-04-24 19:39:23 -04:00
gradient_ai.py
huggingface_endpoint.py community: fix huggingface deprecations (#22522) 2024-06-05 04:13:13 +00:00
huggingface_hub.py community: fix huggingface deprecations (#22522) 2024-06-05 04:13:13 +00:00
huggingface_pipeline.py [Community]add option to delete the prompt from HF output (#22225) 2024-06-05 18:38:54 -04:00
huggingface_text_gen_inference.py community: fix huggingface deprecations (#22522) 2024-06-05 04:13:13 +00:00
human.py
ipex_llm.py community[minor]: import fix (#20995) 2024-04-29 10:32:50 -04:00
javelin_ai_gateway.py
koboldai.py patch: remove usage of llm, chat model __call__ (#20788) 2024-04-24 19:39:23 -04:00
konko.py community[minor]: import fix (#20995) 2024-04-29 10:32:50 -04:00
layerup_security.py community[minor]: bump version of LayerupSecurity, add support for untrusted_input parameter (#19985) 2024-04-30 14:55:26 -04:00
llamacpp.py patch: remove usage of llm, chat model __call__ (#20788) 2024-04-24 19:39:23 -04:00
llamafile.py core, openai: support custom token encoders (#20762) 2024-04-23 13:57:05 +00:00
loading.py
manifest.py
minimax.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
mlflow_ai_gateway.py
mlflow.py
mlx_pipeline.py community[patch]: Fix MLX LLM Stream (#20575) 2024-05-20 17:17:08 -07:00
modal.py
moonshot.py
mosaicml.py patch: remove usage of llm, chat model __call__ (#20788) 2024-04-24 19:39:23 -04:00
nlpcloud.py
oci_data_science_model_deployment_endpoint.py community[patch]: Add missing type annotations (#22758) 2024-06-10 16:59:28 -04:00
oci_generative_ai.py community[minor]: import fix (#20995) 2024-04-29 10:32:50 -04:00
octoai_endpoint.py
ollama.py Update ollama.py with optional raw setting. (#21486) 2024-06-14 17:19:26 -07:00
opaqueprompts.py patch: remove usage of llm, chat model __call__ (#20788) 2024-04-24 19:39:23 -04:00
openai.py infra: rm unused # noqa violations (#22049) 2024-05-22 15:21:08 -07:00
openllm.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
openlm.py
pai_eas_endpoint.py
petals.py
pipelineai.py
predibase.py community: Support both Predibase SDK-v1 and SDK-v2 in Predibase-LangChain integration (#20859) 2024-04-24 13:31:01 -07:00
predictionguard.py patch: remove usage of llm, chat model __call__ (#20788) 2024-04-24 19:39:23 -04:00
promptlayer_openai.py
replicate.py community: update Replicate to work with official models (#20633) 2024-04-19 01:43:40 +00:00
rwkv.py patch: remove usage of llm, chat model __call__ (#20788) 2024-04-24 19:39:23 -04:00
sagemaker_endpoint.py
sambanova.py community[patch]: Sambanova integration api update (#21848) 2024-05-20 15:29:59 -07:00
self_hosted_hugging_face.py community[minor]: import fix (#20995) 2024-04-29 10:32:50 -04:00
self_hosted.py ci: Add script to check for pickle usage in community (#22863) 2024-06-13 16:13:15 -04:00
solar.py
sparkllm.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
stochasticai.py
symblai_nebula.py infra: rm unused # noqa violations (#22049) 2024-05-22 15:21:08 -07:00
textgen.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
titan_takeoff.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
together.py (all): update removal in deprecation warnings from 0.2 to 0.3 (#21265) 2024-05-03 14:29:36 -04:00
tongyi.py community: Implement bind_tools for ChatTongyi (#20725) 2024-05-16 10:39:35 -04:00
utils.py
vertexai.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
vllm.py
volcengine_maas.py
watsonxllm.py (all): update removal in deprecation warnings from 0.2 to 0.3 (#21265) 2024-05-03 14:29:36 -04:00
weight_only_quantization.py community[minor]: import fix (#20995) 2024-04-29 10:32:50 -04:00
writer.py
xinference.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
yandex.py community[patch]: YandexGPT API add ability to disable request logging (#20670) 2024-04-19 21:40:37 -04:00
yuan2.py patch: remove usage of llm, chat model __call__ (#20788) 2024-04-24 19:39:23 -04:00