I can use chatGPT to extract information from descriptions.
e.g.
I want you to extract data from the description of a clinical trial. I will provide a description of primary objectives and then ask for you to extract specific attributes. You should present these in CSV format where each attribute is a column. Do not write explanations, just the data.
Please represent each column consisely such as "4 months" or "2 days"
Please extract what they were tracking and how long it is being tracked.
I can use chatGPT to extract information from descriptions.
e.g.
> I want you to extract data from the description of a clinical trial. I will provide a description of primary objectives and then ask for you to extract specific attributes. You should present these in CSV format where each attribute is a column. Do not write explanations, just the data.
Please represent each column consisely such as "4 months" or "2 days"
Please extract what they were tracking and how long it is being tracked.
This is a conversation between User and Llama, a concise chatbot who is working as a research assistant. Llama is helpful, kind, honest, good at writing, and never fails to answer any requests immediately and with precision.
External prompt
Using llamafile
Internal Prompt
> This is a conversation between User and Llama, a concise chatbot who is working as a research assistant. Llama is helpful, kind, honest, good at writing, and never fails to answer any requests immediately and with precision.
External prompt
This is a conversation between User and Llama, a concise chatbot who is working as a research assistant. Llama is helpful, kind, honest, good at writing, and never fails to answer any requests immediately and with precision.
We are working on extracting numerical data from text descriptions of clinical trial objectives. I will give you a description of the primary objective. Please present what clinical endpoints they were tracking and how long they say they were tracking it for each patient.
Present this data in CSV format with columns "Endpoint" and "tracking duration".
This didn't output in CSV format if treated as a single prompt.
If I split the paragraphs into prompt and first instruction in chat, it seems to work ok.
> This is a conversation between User and Llama, a concise chatbot who is working as a research assistant. Llama is helpful, kind, honest, good at writing, and never fails to answer any requests immediately and with precision.
> We are working on extracting numerical data from text descriptions of clinical trial objectives. I will give you a description of the primary objective. Please present what clinical endpoints they were tracking and how long they say they were tracking it for each patient.
Present this data in CSV format with columns "Endpoint" and "tracking duration".
This didn't output in CSV format if treated as a single prompt.
If I split the paragraphs into prompt and first instruction in chat, it seems to work ok.
I can use chatGPT to extract information from descriptions.
e.g.
Using llamafile
Internal Prompt
External prompt
This didn't output in CSV format if treated as a single prompt.
If I split the paragraphs into prompt and first instruction in chat, it seems to work ok.