Skip to content

OpenAI Assistants #282

Closed Answered by davidmigloz
Jaaco asked this question in Q&A
Jan 5, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hey @Jaaco!

Thanks for your interest.

There are not many options to extract text from PDFs reliably in Dart, unfortunately. Some people are using syncfusion_flutter_pdf, but the results are not great and you may need to buy a license depending on your needs. You can check this discussion in our Discord where we discussed this topic.

Once you have the text, you can use LangChain.dart to embed the text, store it in a vector database, query it and augment it using an LLM (typical Retrieval Augmented Generation pipeline).

Regarding OpenAI Assistants, I am planning to add support for it next week. I already updated our OpenAI client to support them, now I need to implement the agent that inter…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Jaaco
Comment options

Answer selected by Jaaco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants