Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I get the following error when trying to run the inference benchmarks: Error: Operator DEFVAR-PRIVATE is not defined in the API. How can I fix it?

0
Posted

I get the following error when trying to run the inference benchmarks: Error: Operator DEFVAR-PRIVATE is not defined in the API. How can I fix it?

0

At this point you cannot fix it. The inference benchmarks will run without this error in a subsequent release of OpenCyc because the API sandbox is being progressively relaxed to permit the full range of SubL coding and to support the SubL source code that we will release. Additionally, we are working on a security model that will further control what SubL code you allow other OpenCyc instances to run on your OpenCyc server(s).I can’t seem to get assertions into cyc that use floats. I keep getting an error that says “| is not a valid symbol constant”. The toString() on a float does not have a | on both ends. Cyc complains that they need the opening | and closing |.There is an example in the org.opencyc.api.UnitTest class that uses floats. In org.opencyc.api.CfaslOutputStream, the Java objects get transformed into cfasl (old lispy term) binary objects. So CycLists must contain Java Float or Double objects. The bars make the input within into a symbol, not a number.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123