Replies: 3 comments 6 replies
-
+1 I have exactly the same requirements for a JS/TS solution where the LLM is behind a custom API. How can I reuse the code that AI library uses for citations? |
Beta Was this translation helpful? Give feedback.
-
you may need to enable public preview on your teams (either at the user or administrator level) in order to see citations. |
Beta Was this translation helpful? Give feedback.
-
I ended up writing my own converter class to map the output of our API to what msteams expects. It would be nice if the documentation provided some information about how the citations needed to be formatted. I now needed to reverse engineer it which took a long time. something like this:
|
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm using a custom data source to retrieve data from a vector database (postgres with pgvector), however I need to display the citations used to generate the answer, which I'm not able to.
I already ran all the samples that mentioned citations, but they don't seem to be working on my end, for example, this the result of running the
h.datasource-azureOpenAI
sample, which highly differs from the example image in the sample folder:Where could I inject the sources used to generate the answer? I don't need to have a custom action card, text at the bottom would be enough.
For reference, this is my
render_data
method, I'm using Python in my stack:Beta Was this translation helpful? Give feedback.
All reactions