You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/public_cloud/ai_machine_learning/endpoints_tuto_13_structured_output_langchain4j/guide.fr-fr.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: AI Endpoints - Utiliser les sorties structurées avec LangChain4j
3
3
excerpt: Apprenez à utiliser les sorties structurées avec Java, LangChain4j et OVHcloud AI Endpoints
4
-
updated: 2025-06-17
4
+
updated: 2025-08-06
5
5
---
6
6
7
7
> [!primary]
@@ -13,7 +13,7 @@ updated: 2025-06-17
13
13
14
14
In this tutorial, we will explore how to use **Structured Output** with OVHcloud AI Endpoints.
15
15
16
-
To do this, we will use **[LangChain4j](https://github.com/langchain4j/langchain4j)**, Java-based framework inspired by [LangChain](https://github.com/langchain-ai/langchain), designed to simplify the integration of LLMs (Large Language Models) into applications. Note that LangChain4j is not officially maintained by the LangChain team, despite the similar name.
16
+
To do this, we will use **[LangChain4j](https://github.com/langchain4j/langchain4j)**, Java-based framework inspired by [LangChain](https://github.com/langchain-ai/langchain), designed to simplify the integration of LLMs (Large Language Models) into applications. Note that **LangChain4j** is not officially maintained by the LangChain team, despite the similar name.
17
17
18
18
Combined with OVHcloud **[AI Endpoints](https://endpoints.ai.cloud.ovh.net/)** which offers both LLM and embedding models, it becomes easy to create advanced, production-ready assistants.
19
19
@@ -22,8 +22,8 @@ Combined with OVHcloud **[AI Endpoints](https://endpoints.ai.cloud.ovh.net/)** w
22
22
## Definition
23
23
24
24
-**Structured Output**: Structured output allows you to format output data in a way that makes it easier for machines to interpret and process.
25
-
-**[LangChain4j](https://github.com/langchain4j/langchain4j)**: Java-based framework inspired by [LangChain](https://github.com/langchain-ai/langchain), designed to simplify the integration of LLMs (Large Language Models) into applications. Note that LangChain4j is not officially maintained by the LangChain team, despite the similar name.
26
-
-**[AI Endpoints](https://endpoints.ai.cloud.ovh.net/)**: A serverless platform by OVHcloud providing easy access to a variety of world-renowned AI models including Mistral, LLaMA, and more. This platform is designed to be simple, secure, and intuitive, with data privacy as a top priority.
25
+
-**[LangChain4j](https://github.com/langchain4j/langchain4j)**: a Java-based framework inspired by [LangChain](https://github.com/langchain-ai/langchain), designed to simplify the integration of LLMs (Large Language Models) into applications. Note that LangChain4j is not officially maintained by the LangChain team, despite the similar name.
26
+
-**[AI Endpoints](https://endpoints.ai.cloud.ovh.net/)**: A serverless platform by OVHcloud providing easy access to a variety of world-renowned AI models including Mistral, LLaMA, and more. This platform is designed to be simple, secure, and intuitive with data privacy as a top priority.
In this example, we define a JSON output format with a schema that specifies the name, age, height, and married properties as required.
56
56
Configure the model to use
57
57
58
-
This example uses the Mistral AI model hosted on OVHcloud AI Endpoints.
59
-
To configure the model, you need to set up the API key, base URL, and model name as environment variables.
60
-
Fell free to use another model, see AI Endpoints catalog.
58
+
This example uses the Mistral AI model hosted on OVHcloud AI Endpoints.
59
+
60
+
To configure the model, you need to set up the API key, base URL, and model name as environment variables. Feel free to use another model, see AI Endpoints catalog.
61
61
62
62
You can find your access token, model URL, and model name in the OVHcloud AI Endpoints model dashboard.
63
63
@@ -197,10 +197,12 @@ To discover how to build complete and powerful applications using AI Endpoints,
197
197
198
198
If you need training or technical assistance to implement our solutions, contact your sales representative or click on [this link](/links/professional-services) to get a quote and ask our Professional Services experts for a custom analysis of your project.
199
199
200
+
If you need training or technical assistance to implement our solutions, contact your sales representative or click on [this link](/links/professional-services) to get a quote and ask our Professional Services experts for a custom analysis of your project.
201
+
200
202
## Feedback
201
203
202
204
Please feel free to send us your questions, feedback, and suggestions regarding AI Endpoints and its features:
203
205
204
206
- In the #ai-endpoints channel of the OVHcloud [Discord server](https://discord.gg/ovhcloud), where you can engage with the community and OVHcloud team members.
205
207
206
-
If you need training or technical assistance to implement our solutions, contact your sales representative or click on [this link](/links/professional-services) to get a quote and ask our Professional Services experts for a custom analysis of your project.
208
+
If you need training or technical assistance to implement our solutions, contact your sales representative or click on [this link](/links/professional-services) to get a quote and ask our Professional Services experts for a custom analysis of your project.
0 commit comments