Me: what is a symbol table used for in a compiler ?
ChatLLaMa: A symbol table is a data structure used by compilers to keep track of variables, functions, and other identifiers. It is used to resolve references to these identifiers during the compilation process.
Me: what information should be stored in the symbol table ?
ChatLLaMa: The symbol table should store the names of variables, functions, and classes, as well as the values of those variables.
Me: what do you mean by values ?
ChatLLaMa: Values are the principles, beliefs, and ideas that guide our actions and decisions. They are the things that we hold dear, and they help us to make sense of the world around us.
**
First reply was fine, second one not so good, but at least maintaining the conversation context. Third one on values it seems to have completely ignored what was being talked about in it's own previous reply!
Yeah, I mention this in the post but this variant of LLaMA isn't storing any of the conversation in memory so it doesn't have context on the prior questions. You're starting fresh with each prompt. We have some ideas for how to improve this though... more soon :)
ChatLLaMa: A symbol table is a data structure used by compilers to keep track of variables, functions, and other identifiers. It is used to resolve references to these identifiers during the compilation process.
Me: what information should be stored in the symbol table ?
ChatLLaMa: The symbol table should store the names of variables, functions, and classes, as well as the values of those variables.
Me: what do you mean by values ?
ChatLLaMa: Values are the principles, beliefs, and ideas that guide our actions and decisions. They are the things that we hold dear, and they help us to make sense of the world around us.
**
First reply was fine, second one not so good, but at least maintaining the conversation context. Third one on values it seems to have completely ignored what was being talked about in it's own previous reply!