langchain/docs/extras/integrations
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
..
callbacks Add LLMonitor Callback Handler Integration - open-source observability & analytics (#9870) 2023-08-29 15:49:01 -07:00
chat Adds ChatOllama (#9628) 2023-08-23 13:02:26 -07:00
chat_loaders iMessage loader (#9832) 2023-08-28 13:43:59 -07:00
document_loaders Add bucket and object key to metadata in S3 loader (#9317) 2023-08-30 11:03:24 -04:00
document_transformers Added a pdf parser based on DocAI (#9579) 2023-08-24 21:44:49 -07:00
llms EdenAI LLM update. Add models name option (#8963) 2023-09-01 12:11:33 -07:00
memory Pre-release Xata version no longer required (#9915) 2023-08-29 07:21:22 -07:00
providers fix wrong import line in cassandra doc page for vector store (#10041) 2023-08-31 16:05:46 -07:00
retrievers Update google drive notebooks (#9851) 2023-08-28 19:29:35 -07:00
text_embedding EdenAI LLM update. Add models name option (#8963) 2023-09-01 12:11:33 -07:00
toolkits Update google drive notebooks (#9851) 2023-08-28 19:29:35 -07:00
tools Bagatur/eden type 2 (#10102) 2023-09-01 10:27:27 -07:00
vectorstores implement vectorstores by tencent vectordb (#9989) 2023-08-31 00:48:25 -07:00