Tips to optimize knowledge bank

Original Discord Post by ssalve | 2024-10-17 12:43:19

Does anyone have an article (or a helping hand) that has any tips about how to use the knowledge bank in an optimized way?
I am putting some information there, 2 files with 20Kb and 5Kb.
But even if one of the files is explicitly saying for example:

Quentin Tarantino is a famous movie director.

It responds that it doesn’t know who he is.

Reply by k3kalinix | 2024-10-17 12:48:14

Hello <@222854989314260994>,

You can check the Knowledge Bank Best Practices Section.
Make sure you are using English.

Embedded Content:
Knowledge Bank | Documentation
This page demonstrates how to use the knowledge bank to add more information to your character than you can using the backstory alone.
Link: Knowledge Bank | Documentation

Replying to k3kalinix’s Message

Reply by k3kalinix | 2024-10-17 12:48:14
Hello <@222854989314260994>,

You can check the Knowledge Bank Best Practices Section.
Make sure you are using English.

Reply by ssalve | 2024-10-17 14:15:12

Thanks.
I tried to more or less follow these best practices but still is not working as expected.

I wrote something like:
10/27/2024, 09:00 AM to 12:00 PM the session “How I wrote Pulp Fiction” will take place. The session will feature three prominent leaders: Quentin Tarantino, Samuel L. Jackson, Uma Thurman.
(…)

And if I ask the AI something like:
When is going to have a session with Samuel L. Jackson?

It will answer that it doesn’t know.

I don’t know if it is possible to have support for this specific case since I got the professional plan.
If it is better to contact the support through here or support@convai.com

Reply by k3kalinix | 2024-10-17 14:16:08

<@759094701038370877>

Reply by sherlock6147 | 2024-10-17 15:25:42

Hi <@222854989314260994>

Please try this format to add data to the knowledge bank. Let me know if this helps improve the character’s response.

Title: title of the session

Date: 10/27/2024

Time: 9 am to 12 pm (use words that you would want the LLM to respond with )

Event Type: session

Speakers: name of speakers

Summary: the summary

Example:

Title: How I wrote Pulp Fiction

Date: 10/27/2024

Time: 9 AM - 12 PM

Event Type: Session

Speakers: Quentin Tarantino, Samuel L. Jackson, Uma Thurman

Description: This session will cover Quentin Tarantino’s creative process in writing the iconic film Pulp Fiction, with contributions from Samuel L. Jackson and Uma Thurman. They will discuss key themes, character development, and challenges faced during production.

Replying to sherlock6147’s Message

Reply by sherlock6147 | 2024-10-17 15:25:42
Hi <@222854989314260994>

Please try this format to add data to the knowledge bank. Let me know if this helps improve the character’s response.

Title: title of the session

Date: 10/27/2024

Time: 9 am to 12 pm (use words that you would want the LLM to respond with )

Event Type: session

Speakers: name of speakers

Summary: the summary

Example:

Title: How I wrote Pulp Fiction

Date: 10/27/2024

Time: 9 AM - 12 PM

Event Type: Session

Speakers: Quentin Tarantino, Samuel L. Jackson, Uma Thurman

Description: This session will cover Quentin Tarantino’s creative process in writing the iconic film Pulp Fiction, with contributions from Samuel L. Jackson and Uma Thurman. They will discuss key themes, character development, and challenges faced during production.

Reply by ssalve | 2024-10-17 20:44:49

Thanks.

I wrote like this but it didn’t work really well too.
What I did was an Q&A of a bunch of questions and worked a little bit better.

But there is some things that are a bit odd though.

The first thing is that the AI is always saying “smiling face with smiling eyes” after every response. I wrote in the character backstory to not say that phrase but it still says it. Changed the model too but it still says the exactly same answer (like it was not changed).

The second thing is that I deactivated some .txts in the knowledge bank but for some reason it is still responding like it was not deactivated (not really a problem, but still odd).

And the third thing is that sometimes I ask a question and it says that it does not know, I ask a second question (responds correctly), then come back to the first question and it responds correctly like it was nothing. I don’t know if there is any setting that may be doing that.

Reply by sherlock6147 | 2024-10-18 04:27:38

Could you share the character id

  1. Could you try this after disconnecting all documents for the character from the knowledge bank
  2. and 3. The character might be hallucinating based on your existing chat with it, please share the sessionid

Reply by ssalve | 2024-10-18 16:41:04

66391fc2-8c10-11ef-bc7a-42010a7be011

Replying to sherlock6147’s Message

Reply by sherlock6147 | 2024-10-18 04:27:38
Could you share the character id

  1. Could you try this after disconnecting all documents for the character from the knowledge bank
  2. and 3. The character might be hallucinating based on your existing chat with it, please share the sessionid

Reply by ssalve | 2024-10-18 16:45:30

Every update I reset the chat, I don’t think I will find the session with these questions xd

Reply by ssalve | 2024-10-18 16:46:25

With time the AI stopped saying “smiling face with smiling eyes” though, so now the main problem is about the third thing

Reply by ssalve | 2024-10-18 16:48:17

Even if the .txt is formatted like:

Question: How many hours Quentin Tarantino spent writing the script for Pulp Fiction.
Answer: It was two days and three nights.

If I ask this exactly question it has the probability of not responding and saying that it doesn’t know

Replying to ssalve’s Message

Reply by ssalve | 2024-10-18 16:45:30
Every update I reset the chat, I don’t think I will find the session with these questions xd

Reply by k3kalinix | 2024-10-18 16:53:40

Please check the Memory section in the playground.

Replying to k3kalinix’s Message

Reply by k3kalinix | 2024-10-18 16:53:40
Please check the Memory section in the playground.

Reply by ssalve | 2024-10-18 16:54:53

Yeah, there is 81 chat sessions there

Reply by ssalve | 2024-10-18 16:55:20

We enabled long term memory just now too

Reply by k3kalinix | 2024-10-18 16:55:22

You can share the Session id

Replying to k3kalinix’s Message

Reply by k3kalinix | 2024-10-18 16:55:22
You can share the Session id

Reply by ssalve | 2024-10-18 16:55:30

The last one?

Reply by k3kalinix | 2024-10-18 17:02:06

My teammate needs to investigate the Session to understand the problem. Therefore, the Session or Sessions that best describe the problem.

Reply by ssalve | 2024-10-18 17:07:27

Hm

Reply by ssalve | 2024-10-18 17:07:33

I will try to find it, gimme a sec

This conversation happened on the Convai Discord Server, so this post will be closed.