Prompt and Response (LLM)
How to import prompt and response from Large Large Model (LLM)
Last updated
How to import prompt and response from Large Large Model (LLM)
Last updated
For the Retrieval-Augmented Generation (RAG) use case, see the Retrieval section.
Below shows a relevant subsection of the dataframe. The embedding
of the prompt is also shown.
prompt | embedding | response |
---|---|---|
See Retrieval for the Retrieval-Augmented Generation (RAG) use case where relevant documents are retrieved for the question before constructing the context for the LLM.
Define the dataset by pairing the dataframe with the schema.
who was the first person that walked on the moon
[-0.0126, 0.0039, 0.0217, ...
Neil Alden Armstrong
who was the 15th prime minister of australia
[0.0351, 0.0632, -0.0609, ...
Francis Michael Forde