Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Ingested files that get deleted are still available as knowledge base for chat messages. #34

Closed
sangee2004 opened this issue Jun 20, 2024 · 0 comments · Fixed by #58
Closed
Labels
bug Something isn't working
Milestone

Comments

@sangee2004
Copy link

Steps to reproduce the problem:

  1. Create a file - names.txt under knowledge with following content
    My pets name is foo

  2. Run the following script to launch knowledge chat agent using workspace that has k8s documentation - gptscript --workspace ./knowledge knowledge_remote.gpt

tools: github.com/gptscript-ai/knowledge
context: github.com/gptscript-ai/context/workspace
chat: true

You are a helpful assistant that can retrieve information and answer questions using your tools. When you strat just introduce yourself and wait for the user to prompt you. 
You must use the knowledge tool to look up answers to your questions. Do NOT use the read tool. You may only answer questions with information you retrieve from the knowledge tool.
When you give answers, always give a proper citation to the best of your abilities.
  1. Ask for "my pets name" and you get the right answer.
  2. Delete the file - names.txt
  3. Ask for "my pets name" .

We will still get information about the pets name with source as names.txt which is the deleted file.

@sangee2004 sangee2004 added the bug Something isn't working label Jun 20, 2024
@iwilltry42 iwilltry42 added this to the v0.4.3 milestone Aug 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants