Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
return
- Page 1
Integrating OpenAI Web Search API in LangGraph
Programming
Computer Science
4 Days Ago
by usmanmalik57
… = llm.invoke(state["input"]) # tool call happens automatically
return
{"ai_msg": msg} def respond(state: WebState) -> WebState…:
return
{"output": state["ai_msg"].content} ``` We will …
Evaluating OpenAI GPT 4.1 for Text Summarization and Classification Tasks
Programming
Computer Science
3 Weeks Ago
by usmanmalik57
…': rouge_scores['rouge2'], 'rougeL': rouge_scores['rougeL'] })
return
results ``` In the script below we pass the… - Statistics - Quantitative Biology - Quantitative Finance
Return
only a comma-separated list of the categories …
send checkbox to email using phpmailer
Programming
Web Development
2 Months Ago
by ianhaneybs
… = $_POST; $oneway = $_POST['oneway']; $
return
= $_POST['
return
']; $htmlContent = '<h2>Contact Form Details…;form-check-label" for="
return
">
Return
</label> </div…
DeepSeek R1 vs Llama 3.1-405b for Text Classification and Summarization
Programming
Computer Science
2 Months Ago
by usmanmalik57
….strip().split("</think>")[-1].strip()
return
response
return
response.choices[0].message.content ``` Let's call the…'rouge2': rouge_scores['rouge2'], 'rougeL': rouge_scores['rougeL'] }) time.sleep(sleep_time)
return
results ``` Let's first generate summaries via the `Llama3.1…
Re: send checkbox to email using phpmailer
Programming
Web Development
2 Months Ago
by Dani
…;/p> <p><b>
Return
:</b> ' . htmlspecialchars($
return
) . '</p> Can you please clarify what… is used to pass in the values of oneway and
return
?
Implementing a Dynamic Filter Option in a Web Application
Programming
Software Development
1 Month Ago
by YashSmith
…quot;", }); const filteredData = data.filter((item) => {
return
( (filters.keyword === "" || item.name.toLowerCase().includes(…{ setFilters({ ...filters, [e.target.name]: e.target.value }); };
return
( <div> <h2>Filter Data</h2…
How to connect to the Pinterest API using PHP?
Programming
Web Development
2 Months Ago
by FarrisFahad
…;:"failure"}` I tried many things but it always
return
an error. Here is the docs page: https://developers.pinterest…
Segmentation Fault in C++ Program – Need Debugging
Programming
Software Development
1 Month Ago
by YashSmith
…]; cout << arr[10]; // Accessing out-of-bounds index
return
0; } How can I prevent this memory access issue?
Re: How would we poison AI web crawls?
Hardware and Software
Information Security
2 Months Ago
by Dani
… either. But, ultimately, it's a symbiotic relationship because, in
return
, ChatGPT gives us a good amount of quality web traffic…
Re: Best way to find a segment of code that matches a given input segment?
Programming
Software Development
2 Months Ago
by Dani
…, score in sorted_similarity_scores] 7. Output the ranked list of articles
return
ranked_articles I'm not very good at LLM prompts, so…
Re: Multiple MySQL connections + transactions
Programming
Databases
1 Month Ago
by Dani
I am already using multiple MySQL connections throughout the project, as well as select_db() in some other places. My question specifically revolved around if anyone can explain why select_db() implicitly committed the transaction, and then when done again to
return
back to the initial database, it did a rollback instead of commit.
Re: Show computer name on a label
Programming
Software Development
1 Month Ago
by toneewa
…;Managed String: " << stdString << std::endl;
return
0; } To compile, I set the Properties. Configuration Properties->…
Re: Are we being played by AI? Let's Discuss!
Community Center
Meta DaniWeb
1 Month Ago
by Reverend Jim
… tired of putting in the effort and getting none in
return
. IMO posters who are asking for my opinion (as opposed…
Re: Question/Answering over SQL Data Using LangGraph Framework
Programming
Computer Science
1 Month Ago
by Pelorus_1
Through its combination of natural language processing and structured query generation, LangGraph makes interfacing with databases and extracting insights over SQL data easier than ever.
Re: Text Classification and Summarization with DeepSeek R1 Distill Llama 70B
Programming
Computer Science
2 Months Ago
by Pelorus_1
Great breakdown of DeepSeek R1 Distill LLaMA 70B! The explanation of text classification and summarization is clear and insightful. Appreciate the practical examples—makes implementation much easier. Thanks for sharing!
Re: ‘Advanced AI should be treated similar to Weapons of Mass Destruction’
Community Center
2 Months Ago
by rproffitt
UPDATE: Feb 4, 2025 — Google on Tuesday updated its ethical guidelines around artificial intelligence, removing commitments not to apply the technology to weapons or surveillance.
Re: How to connect to the Pinterest API using PHP?
Programming
Web Development
2 Months Ago
by Dani
Never trust ChatGPT to write fully flushed out code for ya :) Pinterest uses OAuth to authorize your app on behalf of your app's end-user, if that makes sense. For example, your goal is for your end-user to load up your app, and have access to *their* Pinterest account. What OAuth does is give your end-user the ability to grant your app …
Re: How to connect to the Pinterest API using PHP?
Programming
Web Development
2 Months Ago
by Dani
Oh, it looks as if the tutorial was for the old DaniWeb API that no longer exists. The [DaniWeb Connect API](https://www.daniweb.com/connect/developers) is also OAuth-based and has some of its own documentation.
Re: Segmentation Fault in C++ Program – Need Debugging
Programming
Software Development
1 Month Ago
by Reverend Jim
Don't try to access past the end of the array.
Re: Segmentation Fault in C++ Program – Need Debugging
Programming
Software Development
1 Month Ago
by rproffitt
Thanks for the MVE (minimum viable example). But it's just bad code. c, c++ and a lot of language won't stop you from going out of bounds.
Re: Segmentation Fault in C++ Program – Need Debugging
Programming
Software Development
1 Month Ago
by Dani
You’re creating an array of 5 integers and then trying to access the 11th integer in the array (assuming the indexes start at 0). You’re getting an out of bounds error because you’re trying to access an array element that doesn’t exist. You can access arr[0] up through arr[4].
Re: Segmentation Fault in C++ Program – Need Debugging
Programming
Software Development
1 Month Ago
by Salem
It should be obvious by now from their posting history that the OP is a troll.
"return type may not be specified on a constructor"
Programming
Software Development
15 Years Ago
by WallyBags
"
return
type may not be specified on a constructor" I …. Can anyone explain why I am getting the error: "
return
type may not be specified on a constructor"
Return Nth the node from the end of the linked list
Programming
Software Development
18 Years Ago
by Jaks_maths
Return
Nth the node from the end of the linked list. Time Complexity is O(n).
Re: return a class in C#
Programming
Software Development
13 Years Ago
by Mitja Bonca
… ROAD obj = new ROAD();
return
obj; } else { PATH obj = new PATH();
return
obj; } } } public … class PATH { public string getData() {
return
"Tagore Path"; } } [/CODE…
Re: return() more than one value??
Programming
Software Development
18 Years Ago
by Narue
…, intSecond, intThird); This doesn't actually
return
three values, it just seems that way because intFirst, intSecond, …
return
Programming
Software Development
14 Years Ago
by lewashby
…self.x = x self.y = y def __str__(self):
return
"(%s, %s)" % (self.x, self…self.x = x self.y = y def __str__(self):
return
"(%s, %s)" % (self.x, self….y) @classmethod def from_points(P1, P2):
return
Vector2(P2[0] - P1[0], P2[1] - P1…
return
Programming
Software Development
15 Years Ago
by drjay1627
… len(somelist) == 0[/INDENT] [INDENT][INDENT]
return
[/INDENT][/INDENT] ... [/code] This is suppose to
return
the function to the place where it….. length: 1 Somemethod called.. length: 0 I'm trying to
return
... I found error! -- this is the base case! Somemethod called…
Re: return
Programming
Software Development
15 Years Ago
by wildgoose
Each nesting has to be self contained. It should pass (fall out) of the nesting with an error. bool DoMyTask( .... ) { ... if (!DoMyTask( ... ))
return
false; ....
return
true; }
Re: return
Programming
Software Development
15 Years Ago
by jlm699
…): ... def __init__(self, param): ... self.param = param ... def __len__(self): ...
return
len(self.param) ... >>> mc = myClass('Test') >…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC