From 4c8d0302c008eab9588409112413e82b22c87f98 Mon Sep 17 00:00:00 2001 From: ddebowczyk Date: Sat, 5 Oct 2024 06:56:41 +0200 Subject: [PATCH] Docs update --- docs/advanced/sequences.mdx | 2 +- docs/essentials/usage.mdx | 6 +++--- docs/internals/instructor.mdx | 1 - docs/mint.json | 1 - 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/advanced/sequences.mdx b/docs/advanced/sequences.mdx index d1ef2ff2..5fdd4768 100644 --- a/docs/advanced/sequences.mdx +++ b/docs/advanced/sequences.mdx @@ -94,4 +94,4 @@ $sequence->toArray(); // returns the list of extracted items as an array ## Streaming sequence updates -See: [Streaming and partial updates](partials.md) for more information on how to get partial updates and streaming of sequences. +See: [Streaming and partial updates](/advanced/partials) for more information on how to get partial updates and streaming of sequences. diff --git a/docs/essentials/usage.mdx b/docs/essentials/usage.mdx index 486e6ce5..e2da98f4 100644 --- a/docs/essentials/usage.mdx +++ b/docs/essentials/usage.mdx @@ -155,14 +155,14 @@ $db->save($person); ## Scalar responses -See [Scalar responses](scalars.mdx) for more information on how to generate scalar responses with `Scalar` adapter class. +See [Scalar responses](/essentials/scalars) for more information on how to generate scalar responses with `Scalar` adapter class. ## Partial responses and streaming -See [Streaming and partial updates](partials.md) for more information on how to work with partial updates and streaming. +See [Streaming and partial updates](/advanced/partials) for more information on how to work with partial updates and streaming. ## Extracting arguments for function call -See [FunctionCall helper class](function_calls.md) for more information on how to extract arguments for callable objects. +See [FunctionCall helper class](/advanced/function_calls) for more information on how to extract arguments for callable objects. diff --git a/docs/internals/instructor.mdx b/docs/internals/instructor.mdx index f32f9fe5..02726309 100644 --- a/docs/internals/instructor.mdx +++ b/docs/internals/instructor.mdx @@ -19,7 +19,6 @@ of the request and response: - `InstructorReady` - dispatched when Instructor is configured and ready to process the request - `RequestReceived` - dispatched when the request is received - `ResponseGenerated` - dispatched when the response is generated - - `ErrorRaised` - dispatched when an uncaught error occurs ## Event listeners diff --git a/docs/mint.json b/docs/mint.json index 126ee61a..39e99750 100644 --- a/docs/mint.json +++ b/docs/mint.json @@ -151,7 +151,6 @@ "cookbook/examples/advanced/function_calls", "cookbook/examples/advanced/partials", "cookbook/examples/advanced/demonstrations", - "cookbook/examples/advanced/scalars", "cookbook/examples/advanced/sequences", "cookbook/examples/advanced/streaming", "cookbook/examples/advanced/structures"