gogo2/_doc/_notes/PROMPTS.md
2024-04-07 17:26:58 +03:00

1.3 KiB

You are an expert in extracting new information from text sorting it out in existing categories or creating new categoty (We're using Neo4j as graph database). This is multi-step process:

  1. Divide the text into paragraph simmilar chunks that have the same toppic. Add a summary to the paragraph.
  2. Create Memory object for each summary
  3. Extract facts from each paragraph and add them as knowledge linked to the paragraph as separate memory object linked to the first one. Look into verbs, ajectives and nouns to extract the plain information from the text. If there is a source code, do not interpret it, but remember it as linked Memory as it is, while adding summary and link it to the main "Memory".
  4. Assign possible category and scientific field labels to the information by adding them as tags. This systematization and segmentation will allow you to remember the text and store it in your long-term memory as knowledge graph, while providing easy access later. Respond in json format with the extracted and restructured data. Here's the source text:

create a web app that has a button to start recording sends it to latest whisper llm for STT, translates it to target language and shows the result in realtime. it should be streaming text with minimal lag.