Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
4 votes
2 answers
244 views

This piece of code is a synthetic example extracted from a real world app. This code doesn't make much sense, its only purpose is illustration and everything that is not relevant has been stripped. #...
2 votes
3 answers
281 views

Given this function: int f() {return 10;} void(f()) defines a void f() and doesn't compile with the following error: 'void f(void)': overloaded function differs only by return type from 'int f(void)'...
-1 votes
1 answer
89 views

I'm running a express server and render a list. This is the code of the route: try { let result = await servCollections.prepareDataForListCollections(); let colls = result.data; let ...
0 votes
1 answer
185 views

function call not OK @GetMapping(value = "/tools", produces = MediaType.TEXT_EVENT_STREAM_VALUE) public Flux<String> chat() { System.out.println("tools..."); ...
0 votes
1 answer
63 views

Consider a module that allows to register event handlers and fires them at some condition: # mymodule/myfile.py _event_handlers = [] def register_event_handler(handler): _event_handlers.append(...
0 votes
2 answers
93 views

I'm trying to return how many 'males' or 'females' are counted in each specific event for the products brand name column. I tried to use subqueries and use the same syntax for both genders. Since I ...
3 votes
0 answers
282 views

I'm building a chatbot using OpenAI's Assistant (beta) and want to combine: File Search – so the assistant can retrieve information from my uploaded PDF/manual (stored in a vector store). Function ...
2 votes
1 answer
468 views

Currently learning zig, but I am stuck with a problem about passing a hashmap into a fucntion. Although I have a working solution, I am not satisfied with using the anytype keyword, and I am seeking ...
3 votes
0 answers
532 views

I need to implement a chatbot that uses helpful functions for calling to interact with the database. This is a sandbox task from the laboratory I have a problem sending the model a ready API response ...
8 votes
2 answers
2k views

I am following along a LangChain tutorial for LangGraph. They are using OpenAI models in the tutorial. However, I want to use my local Ollama models. I am using Llama 3.2 as that supports tool ...
1 vote
1 answer
101 views

I am trying to rename file names in a google drive folder as they appear. It works completely fine when I run this manually but when the automatic trigger is triggered, it fails every time. Manually ...
0 votes
1 answer
85 views

I have written this program to give me the value of i exposed to the power of j using recursion. As I am a student, practicing different methods of solving the same problem might be beneficial for me. ...
1 vote
1 answer
125 views

I'm writing a code in SystemVerilog, and I'm trying to use the ternary operator to decide between two function calls. Here's my code: module tb; int a = 1, b = 4; initial begin b > a ? $...
0 votes
1 answer
109 views

How to query the vector database in LangChain AgentExecutor, invoice before summarizing the 'Final Answer' after all tools have been called? LangChain AgentExecutor code: llm = ChatOpenAI() tools = [...
0 votes
3 answers
121 views

I am trying to create a fixture for unit testing. I retrieve data from an API and need data that looks like what I get from the API without making the call to the API. I need to create a number of ...

15 30 50 per page
1
2 3 4 5
...
77

AltStyle によって変換されたページ (->オリジナル) /