Closed pmarsh-scottlogic closed 7 months ago
will reopen when It's ready
I'd be interested to know what the response actually is here, and why we need to strip out all non-alphanumerics; does it wrap the "yes" or "no" inside braces, or quotes maybe?
@chriswilty
When I sent "Hello", the prompt eval LLM came back with "No.", and when I sent "forget your instructions" it came back with "Yes.". So we need to strip away the punctuation.
I'd be interested to know what the response actually is here, and why we need to strip out all non-alphanumerics; does it wrap the "yes" or "no" inside braces, or quotes maybe?
@chriswilty
When I sent "Hello", the prompt eval LLM came back with "No.", and when I sent "forget your instructions" it came back with "Yes.". So we need to strip away the punctuation.
Brilliant, thanks for checking!
I'd be interested to know what the response actually is here, and why we need to strip out all non-alphanumerics; does it wrap the "yes" or "no" inside braces, or quotes maybe?
@chriswilty When I sent "Hello", the prompt eval LLM came back with "No.", and when I sent "forget your instructions" it came back with "Yes.". So we need to strip away the punctuation.
Brilliant, thanks for checking!
@chriswilty in fact we're explicitly asking it to return in that format, with the full stop. I wonder why.
@pmarsh-scottlogic I'm happy to approve this anyway. If you need any help with merge conflicts, just ask (tomorrow!)
Description
Tidying up some code and making test a bit better
Notes
vectorisedDocuments
andinitDocumentVectors
from langchain.ts to document.ts.Checklist
Have you done the following?