Skip to main content
Advice
1 vote
1 replies
117 views

I have build a self-evaluating RAG System now i want to evaluate it so i can know what my system performance for that i used DeeEval framework but the thing is i don’t have OpenAI API key as i’m ...
Ricky Raj Sahani's user avatar
6 votes
1 answer
166 views

I wrote the following program that is accepted by MSVC, but is rejected by both GCC and CLANG. What is the standard compliant behavior? Live Demo struct C { C(int) = delete; C(){}; }; decltype([b ...
Anoop Rana's user avatar
19 votes
1 answer
1k views

Consider the following program: #include <iostream> int f(int i) { std::cout << i; return i; } int main() { [a=f(1), b=f(2)]{}(); } It prints 12 (with all major c++ ...
Jakob Stark's user avatar
  • 4,200
1 vote
4 answers
160 views

I am trying to learn Lisp, but it seems like I can not quite get behind how the quotes and the evaluation works. Why does the following expression ((car '(car)) '(a b)) not evaluate to a in the REPL? ...
Nico's user avatar
  • 121
0 votes
0 answers
65 views

I am using ragas ==0.2.15. I have created an Investment Research Assistant in LangChain-based conversational AI system designed to guide users in making informed investment decisions. It supports real-...
Divya M's user avatar
0 votes
1 answer
74 views

I am debugging a code in Python using Pdb: a = [12, 3, 4, 10, 23, 1] def compute(x): return 2 * x for i in a: b = compute(i) To trace the value of a variable inside the loop, I set a ...
Hamid Rouhani's user avatar
0 votes
0 answers
46 views

The foloowing code provides crossBorderQuantityNet == 0.0 because "into" and "from" variables are the same, BUT if you run it in debug evaluation then it works correctly. fun f( a:...
Darffire's user avatar
0 votes
1 answer
121 views

My working definition for value is a special kind of expression that evaluates to itself. So 1 is a value, and 1 + 1 is valuable but not a value because it evaluates to 2. A datatype constructor like ...
qwr's user avatar
  • 11.7k
2 votes
1 answer
683 views

c23 added the constexpr keyword to the standard, which seems to me to be quite puzzling. I understand that the appeal would be that constexpr objects evaluate to constant expressions, whereas static ...
Badasahog's user avatar
  • 1,025
1 vote
1 answer
129 views

I build a confusion matrix according to the code below: conf_matrix = confusion_matrix(y_test, y_test_predictions) print(conf_matrix) [[122 27] [ 40 42]] Observe that the values ​​for it are ...
Edvonaldo Horacio's user avatar
3 votes
0 answers
117 views

Can someone help me to understand why the following demo program , compiled with a gnu compiler, gives the output specified below #include <iostream> class Obj { public: Obj() { std::...
Rich Gg's user avatar
  • 59
0 votes
1 answer
98 views

Trying to load modules based on a value in a variable. Is this possible? local moduletoload = "login" local mod_action = require moduletoload Thanks
Dan's user avatar
  • 2,583
3 votes
1 answer
175 views

Suppose we have the source: #include <stdint.h> #include <stdio.h> struct foo { char b ; char a [ SIZE_MAX ] ; } ; int main ( void ) { const size_t z = sizeof ( struct foo ) ; ...
Ana Nimbus's user avatar
0 votes
0 answers
138 views

My TDateTime field (retrieved with TClientDataSet.FieldByName().AsDateTime) shows as a float value in the Evaluate/Modify window, but not in the Watch window, of if I click Inspect: A simple local ...
Jan Doggen's user avatar
  • 9,096
2 votes
2 answers
103 views

const toBool = [() => true, () => false] The above line is used in this MDN guide to (seemingly) evaluate the output from Node's fs.promises.access method as a boolean. The snippet in question ...
pepperdan's user avatar

15 30 50 per page
1
2 3 4 5
91