Skip to content

Commit

Permalink
docu: WIP: structured outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
langchain4j committed Nov 22, 2024
1 parent 482df66 commit ebbd397
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/docs/tutorials/structured-outputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,10 @@ While we are gradually migrating to Jackson, Gson is still used for parsing the
so Jackson annotations on your POJOs will have no effect.
:::

You can find many examples of supported use cases
[here](https://github.com/langchain4j/langchain4j/blob/main/langchain4j/src/test/java/dev/langchain4j/service/AiServicesWithJsonSchemaIT.java)
and [here](https://github.com/langchain4j/langchain4j/blob/main/langchain4j/src/test/java/dev/langchain4j/service/AiServicesWithJsonSchemaWithDescriptionsIT.java).

### Limitations
When using Structured Outputs with AI Services, there are some limitations:
- It works only with supported OpenAI and Gemini models.
Expand Down

0 comments on commit ebbd397

Please sign in to comment.