langchain/docs/extras/integrations/llms
KyrianC 491089754d
EdenAI LLM update. Add models name option (#8963)
This PR follows the **Eden AI (LLM + embeddings) integration**. #8633 

We added an optional parameter to choose different AI models for
providers (like 'text-bison' for provider 'google', 'text-davinci-003'
for provider 'openai', etc.).

Usage:

```python
llm = EdenAI(
    feature="text",
    provider="google",
    params={
        "model": "text-bison",  # new
        "temperature": 0.2,
        "max_tokens": 250,
    },
)

```

You can also change the provider + model after initialization
```python
llm = EdenAI(
    feature="text",
    provider="google",
    params={
        "temperature": 0.2,
        "max_tokens": 250,
    },
)

prompt = """
hi 
"""

llm(prompt, providers='openai', model='text-davinci-003')  # change provider & model
```

The jupyter notebook as been updated with an example well.


Ping: @hwchase17, @baskaryan

---------

Co-authored-by: RedhaWassim <rwasssim@gmail.com>
Co-authored-by: sam <melaine.samy@gmail.com>
2023-09-01 12:11:33 -07:00
..
ai21.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
aleph_alpha.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
amazon_api_gateway_example.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
anyscale.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
azure_openai_example.ipynb docs: Azure AD Authentication for Azure OpenAI (#9951) 2023-08-29 14:29:27 -07:00
azureml_endpoint_example.ipynb Add LLaMa Formatter and AzureML Chat Endpoint (#8382) 2023-07-31 16:26:25 -07:00
banana.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
baseten.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
beam.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
bedrock.ipynb Bedrock embeddings async methods (#9024) 2023-08-10 14:21:03 -07:00
bittensor.ipynb Changed the NIBittensorLLM API URL to the correct one (#9419) 2023-08-20 16:25:19 -07:00
cerebriumai_example.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
chatglm.ipynb Change with_history option to False for ChatGLM by default (#8076) 2023-07-24 15:46:02 -07:00
clarifai.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
cohere.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
ctransformers.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
databricks.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
deepinfra_example.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
deepsparse.ipynb Adds DeepSparse as an LLM (#9184) 2023-08-13 22:35:58 -07:00
edenai.ipynb EdenAI LLM update. Add models name option (#8963) 2023-09-01 12:11:33 -07:00
Fireworks.ipynb Update Fireworks model names (#9085) 2023-08-10 19:23:42 -07:00
forefrontai_example.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
google_vertex_ai_palm.ipynb Updated title, description, added sections 2023-08-29 14:31:33 -07:00
gooseai_example.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
gpt4all.ipynb Updates to Nomic Atlas and GPT4All documentation (#9414) 2023-08-23 17:49:44 -07:00
huggingface_hub.ipynb Qwen model example (#9516) 2023-08-20 17:21:45 -07:00
huggingface_pipelines.ipynb Fix imports in notebook (#9458) 2023-08-18 10:08:47 -07:00
huggingface_textgen_inference.ipynb Fix typo in huggingface_textgen_inference.ipynb (#9313) 2023-08-16 16:22:21 -07:00
index.mdx mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
jsonformer_experimental.ipynb Wfh/ref links (#8454) 2023-07-29 08:44:32 -07:00
koboldai.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
llamacpp.ipynb Add instructions for GGUF (#9874) 2023-08-28 12:56:46 -07:00
llm_caching.ipynb docs: fix for title of llm_caching nb (#9891) 2023-08-28 18:34:04 -07:00
manifest.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
minimax.ipynb Add Minimax llm model to langchain (#7645) 2023-07-27 22:53:23 -07:00
modal.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
mosaicml.ipynb Update Mosaic endpoint input/output api (#7391) 2023-08-24 22:13:17 -07:00
nlpcloud.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
octoai.ipynb Add api cross ref linking (#8275) 2023-07-26 12:38:58 -07:00
ollama.ipynb Update Ollama docs (#9220) 2023-08-14 13:56:16 -07:00
opaqueprompts.ipynb refactor: rename to OpaquePrompts (#10013) 2023-08-31 12:21:24 -07:00
openai.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
openllm.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
openlm.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
petals_example.ipynb fix(petals) allows to run models that aren't Bloom (Support for LLama and newer models) (#8356) 2023-07-27 18:01:04 -07:00
pipelineai_example.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
predibase.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
predictionguard.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
promptlayer_openai.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
rellm_experimental.ipynb Wfh/ref links (#8454) 2023-07-29 08:44:32 -07:00
replicate.ipynb Added stop sequence support to replicate (#8107) 2023-07-24 17:34:13 -07:00
runhouse.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
sagemaker.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
stochasticai.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
symblai_nebula.ipynb Improvements in Nebula LLM (#9226) 2023-08-15 15:33:07 -07:00
textgen.ipynb feat(llms): add streaming support to textgen (#9295) 2023-08-21 07:39:14 -07:00
titan_takeoff.ipynb Takeoff integration (#9045) 2023-08-10 10:56:06 -07:00
tongyi.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
vllm.ipynb feat(llms): support vLLM's OpenAI-compatible server (#9179) 2023-08-13 23:03:05 -07:00
writer.ipynb mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
xinference.ipynb FEAT: Integrate Xinference LLMs and Embeddings (#8171) 2023-07-27 21:23:19 -07:00