Replies: 1 comment
-
I haven't seen.
Simple:
Copied from https://platform.openai.com/docs/guides/text-generation/chat-completions-api
PS: If you show what you have tried and the results... you may get better help. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there documentation or examples on how to use multi-shot prompting with instructor? Since the pydantic classes abstract from the actual message passed to the LLM, how do we craft examples as part of the multi-shot conversation in the prompt?
It would be sweet to be able to use example values to manually instantiate objects of the same type that are going to be used as response_model and then just add them pass them to the chat/completion methods, and have Instructor take care of the translation into what the model expects.
Beta Was this translation helpful? Give feedback.
All reactions