File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
docs/source/user_guide/large_language_model Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ ADS provides custom LLM clients for `AutoGen <https://microsoft.github.io/autoge
8
8
9
9
The LangChain integration requires ``python>=3.9 ``, ``langchain-community>=0.3 `` and ``langchain-openai ``.
10
10
11
- .. code-block ::
11
+ .. code-block :: bash
12
12
13
13
pip install " langchain-community>0.3" langchain-openai
14
14
@@ -94,7 +94,10 @@ Following is an example LLM config for the OCI Generative AI service:
94
94
"client_params": {
95
95
"model_id": "cohere.command-r-plus",
96
96
"compartment_id": COMPARTMENT_OCID,
97
- "model_kwargs": {"temperature": 0, "max_tokens": 4000},
97
+ "model_kwargs": {
98
+ "temperature": 0,
99
+ "max_tokens": 4000
100
+ },
98
101
"service_endpoint": "https://inference.generativeai.us-chicago-1.oci.oraclecloud.com"
99
102
"auth_type": "SECURITY_TOKEN",
100
103
"auth_profile": "DEFAULT",
You can’t perform that action at this time.
0 commit comments