You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to integrate AnythingLLM deeper with Microsoft Word, based on this demo. The idea is to convert the citations in AnythingLLM to footnotes in Word. Currently the "/api/v1/openai/chat/completions" API returns data like the following:
{"id":"bae19b72-3f17-45c6-bf6c-2e99d994fc5e","object":"chat.completion","created":1732495215436,"model":"workspace-1","choices":[{"message":{"role":"assistant","content":" Yes, the AI Scientist is an end-to-end framework designed to automate the generation of research ideas, implementation, and the production of research papers."},"logprobs":null,"finish_reason":"stop"}]}
It is understandable that citations are not included, at least for being compatible with OpenAI's spec. My question is: Is it possible to enhance the API or provide another API for receiving the citation data, say based the returned id in the above API?
The text was updated successfully, but these errors were encountered:
What would you like to see?
A similar but different idea to the following: Can the "chat completion" API return citations?
#2430 (comment)
I'm trying to integrate AnythingLLM deeper with Microsoft Word, based on this demo. The idea is to convert the citations in AnythingLLM to footnotes in Word. Currently the "/api/v1/openai/chat/completions" API returns data like the following:
{"id":"bae19b72-3f17-45c6-bf6c-2e99d994fc5e","object":"chat.completion","created":1732495215436,"model":"workspace-1","choices":[{"message":{"role":"assistant","content":" Yes, the AI Scientist is an end-to-end framework designed to automate the generation of research ideas, implementation, and the production of research papers."},"logprobs":null,"finish_reason":"stop"}]}
It is understandable that citations are not included, at least for being compatible with OpenAI's spec. My question is: Is it possible to enhance the API or provide another API for receiving the citation data, say based the returned id in the above API?
The text was updated successfully, but these errors were encountered: