Skip to content

Commit 5acb09a

Browse files
committed
Update docs.
1 parent 4c0e638 commit 5acb09a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/source/user_guide/large_language_model/autogen_integration.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ADS provides custom LLM clients for `AutoGen <https://microsoft.github.io/autoge
88

99
The LangChain integration requires ``python>=3.9``, ``langchain-community>=0.3`` and ``langchain-openai``.
1010

11-
.. code-block::
11+
.. code-block:: bash
1212
1313
pip install "langchain-community>0.3" langchain-openai
1414
@@ -94,7 +94,10 @@ Following is an example LLM config for the OCI Generative AI service:
9494
"client_params": {
9595
"model_id": "cohere.command-r-plus",
9696
"compartment_id": COMPARTMENT_OCID,
97-
"model_kwargs": {"temperature": 0, "max_tokens": 4000},
97+
"model_kwargs": {
98+
"temperature": 0,
99+
"max_tokens": 4000
100+
},
98101
"service_endpoint": "https://inference.generativeai.us-chicago-1.oci.oraclecloud.com"
99102
"auth_type": "SECURITY_TOKEN",
100103
"auth_profile": "DEFAULT",

0 commit comments

Comments
 (0)