Conversation
|
I am taking time off for week or so. Might not be actively able to actively contibute to this PR until 4 april. Can review changes, comments. :) |
|
https://github.com/brainlid/langchain/pull/86/files Reference PR. |
|
Sax parser for supporting claude native XML format. |
|
Examples of using Sax parsing with Saxy (which I used recently), if that's useful! |
Super useful. Gem. 🌸🌸 Will continue working on this pr after holidays finish. :) |
|
https://twitter.com/jxnlco/status/1773536962403533187 Maybe don't need to do XML stuff. Json mode has been reported to work reliably |
|
|
|
The function to conform to openai structure should be: |
|
Added PR but removed my fork so i could submit something else to main repo, but it's still here: https://github.com/TwistingTwists/instructor_ex/pull/1/files |
|
Will work on it over the weekend. Thanks for this @noozo ! |
2ce3f3e to
4ba634a
Compare
|
@cigrainger : Streaming response works. Will add an example in a few minutes. Feel free to checkout this branch. This might not be mergable, at the moment, because it includes lots of goodies from other branches as well. But it works. |
|
Also, since I was testing Gemini as well, I rebased can remove this if needed. |
|
almost done with #33 |
|
Gave it a try and got the following error: |
|
@cigrainger , |
done: * basic md_json mode support * basic text support * vision support todo: * do_streaming_chat_completion/2 in anthropic.ex * to_openai_response/1 needs to be more robust * tool mode for anthropic https://docs.anthropic.com/claude/docs/functions-external-tools#function-calling-format = handle formatting request and parsing response * unresolved bugs: * Jason.decode on Anthropic Response does not work
* until this is merged, using my branch for running anthropic examples
2cdea5e to
20dacde
Compare
|
eagerly waiting for this 🎉 |
|
@frozencap : feel free to try it out today from git directly. Open to feedback.
|
|
breaks with ecto 3.12 |
Thanks for reporting. will do it over weekend |
Done so far:
In progress: