Skip to main content

Devblog: Annotations Update

· 2 min read
Michael Wade

Hello everyone!

We have been busy working on the AiFGE app, and I wanted to share some updates with you. Our most recent update today is changes to the annotations system. We are relying on OpenAI's Assistants endpoints to provide Retrieval Augmented Generation, or RAG, to search the Master Agreement and other documents that we've uploaded. It's considered beta right now, and very buggy, and we wanted to make sure that we were managing all of the errors properly. As a result, we were forced to re-write our program logic to handle edge cases. Here's how the application works now.

If the assistant returns a message with annotations, we will update the content to format the annotation, and provide each citations as independent elements. Sometimes the agent will return a reference in the content, such as 【8:9†VA-AFGE-2023-Master-Agreement.pdf】, but will not return any annotations, so you may still see this reference format. When the the tools return citations with no quotes, we assume the source is apparent in context via the thread or message, and do not return the annotation at all.

We are continuing to obsess over code quality, and really understanding the frameworks that the app is built on, namely OpenAI, and Chainlit, which we use for our frontend and backend data layer. We're really focusing on making AiFGE simple to use, and really good at what it does, which is help stewards find the relevant information necessary to help their BUEs. Right now we're focusing on grievance management, with an eye toward expanding the capabilities of our base assistant, while adding additional assistants customized for users and groups of users based on agency or locations. The sky is the limit here, but we're being very selective and methodical about how we approach development.

Your feedback is crucial here. Make sure to use the 👍👎 feedback buttons for any response that is inaccurate or buggy, or drop me a line at help@wade.digital if there's anything else you'd like to report.

Thank you so much for using AiFGE!

In Solidarity,

MW