Re: The Application of Greedy Algorithm in Computer Monitoring Software Hardware and Software by Dani > Maybe the tag system changed but in the past I could create a new tag if there wasn't one. Only non-newbie members can do that. Please visit our [tagging guidelines](https://www.daniweb.com/welcome/tagging). Question Answering with YouTube Videos Using RAG in LangChain Programming Computer Science by usmanmalik57 In previous articles, I explained how to use natural language to interact with [PDF documents](https://www.daniweb.com/programming/computer-science/tutorials/541732/paris-olympics-ticket-information-chatbot-with-memory-using-langchain) and [SQL databases](https://www.daniweb.com/programming/computer-science/tutorials/541771/using-natural-language-… Retrieval Augmented Generation with Hugging Face Models in LangChain Programming Computer Science by usmanmalik57 In my [previous articles](https://www.daniweb.com/programming/computer-science/tutorials/541732/paris-olympics-ticket-information-chatbot-with-memory-using-langchain), I explained how to develop customized chatbots using Retrieval Augmented Generation (RAG) approach in [LangChain](https://www.langchain.com/). However, I used proprietary models such… Summarizing YouTube Video Transcriptions Using Distil Whisper and LLM Programming Computer Science by usmanmalik57 In this tutorial, you will see how to summarize YouTube video transcriptions using [Distil Whisper large V3](https://huggingface.co/distil-whisper/distil-large-v3) and [Mistral-7b-Instruct](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2). Both Distill Whisper Large V3 and Mistral-7B-Instruct models are open-source and free-to-use models.… Re: DaniWeb Auto Answer A.I. feature Community Center Meta DaniWeb by toneewa I did some sample testing, and parsed a thread topic for the dataset. Reducing the footprint from 220kb to 26.5kb. All in 0.43 seconds. It doesn't use any API. Just the patterns I saw in the code. It took another 6 seconds to embed too Chat with RTX. Then, not deducting for the deleted threads, this could be a lot smaller, and quicker than … Re: Slaying Unicorns: How Europe Sabotages Its Own Economic Future Community Center by Dani I'm happy to live in Silicon Valley :) Paris Olympics Ticket Information Chatbot with Memory Using LangChain Programming Computer Science by usmanmalik57 In my previous article, I explained how I developed a simple chatbot using LangChain and Chat-GPT that can answer queries related to Paris Olympics ticket prices. However, one major drawback with that chatbot is that it can only generate a single response based on user queries. It can not answer follow-up questions. In short, the chatbot has no … Slaying Unicorns: How Europe Sabotages Its Own Economic Future Community Center by Johannes C. **With the decline of industry and post-colonial exploitation, Europe should aim to become a global leader in the tech and service industry. But as the EU increasingly complicates the process for startups to thrive, the economic outlook appears bleak.** If you've missed recent AI news, **[Claude Opus now outperforms GPT-4 in most areas](https://… How do you use LLM AI tools in your daily programming workflow ? Community Center by jkon I am curious how other programmers that I have no interaction with in this subject , are using LLM AI tools in their daily programming workflow. Although I use them I have an issue recommending them to others in my company because I believe you have to have a certain amount of experience to understand the B..S.. parts from the real useful ones.… How Do I address ERROR: access violation writing 0x0000000000005140, Programming Web Development by A_957 The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation exception that occurred within my application. This type of error apparently usually points to a problem where the code attempted to write to a protected … 7 NLP Tasks to Perform for Free in Python with Mistral 7b LLM Programming Computer Science by usmanmalik57 In the rapidly evolving field of Natural Language Processing (NLP), open-source large language models (LLMs) are becoming increasingly popular as they are free to use. Among these, the [Mistral](https://docs.mistral.ai/models/) family of models stands out as a state-of-the-art model that is freely accessible to the public. Comparable in … Re: Improve HAVING BY performance Programming Databases by Reverend Jim I have a friend who spent the better part of a career doing SQL. I wrote up your question and sent it off to him. Just for sh!ts and giggles, he decided to feed it to ChatGPT first. He said that what he got back was what he would have written if he spent a lot of time researching. Here is what ChatGPT said... >Yes, you're correct that … Re: ASUS Laptops - my experience Hardware and Software by rproffitt I've had a lot of their laptops at my brother's insurance office. We've been lucky with them. OK, there is a "thing" about some models where you have to install a media/storage driver for some drives to show up. So far Linux shows such drives since that driver is baked into all the current distros I've used recently. I can't offer … Re: ASUS Laptops - my experience Hardware and Software by toneewa USB-C ports can wear out, and become loose after 6 months of use. I've heard there was a dip in quality from ASUS. I haven't experienced it myself. I have 2 monitors from them, 1 has over 73,500 hours and ~98% uptime. Ironically, I was looking at this [ASUS Vivobook](https://www.bestbuy.com/site/asus-vivobook-16-laptop-amd-ryzen-7-5800hs-with-12gb-… Re: Read file properties of video files in C++ Programming Software Development by rproffitt When you asked for runtime you triggered a memory from long ago where MP3 runtimes were at times wildly inaccurate. Just like the man who was turned into a newt in Monty Python who said "I got better", such are better now but I still read complaints it's not exact. So here's the thing, you may want that runtime but it's not always … Re: Bouncing Balls: Creating a new ball when two balls collide Programming Software Development by toneewa I cleaned up the code some more. Removed some things that were not being used. I ran into a couple problems which caused the freeze you mentioned. It was memory heap space and array allocating. E.g., if x or y becomes negative, and also infinite recursion. I added a x/y coordinate display for a ball, and tinkered with the placement of the … Re: Improve HAVING BY performance Programming Databases by Biiim > INSERT INTO electronics.products(ProductID, ProductName, Price) VALUES ('1','capacitors', 2.50), ('2','resistors', 4.50), ('3','rectifiers', 7.50), ('4','diodes', 10.00), ('5','ICs', 25.00), ... ('50000','...', ...); I don't see any mention of an index on it & your benchmark indicates you don't have one: ALTER TABLE `… Re: How do you use LLM AI tools in your daily programming workflow ? Community Center by rproffitt I use ChatGPT for quick and dirty work where I need a function to build some apps. My close friend took ChatGPT back to work in December 2022 and they use it for many things. Examples such a SQL queries and regular expressions. He tells me they saved mid 5 figures USD in the first year over outsourcing. It's time and money. Some get a little… Re: How Do I address ERROR: access violation writing 0x0000000000005140, Programming Web Development by rproffitt Python shouldn't create such an error. Reference https://www.reddit.com/r/learnpython/comments/kv83hc/error_code_exception_access_violation_writing_0x0/ I can't duplicate your issue but if this was mine I'd place a logging command in my python script at each step so I could nail down which line of code threw the error. Tutorial on that at … Re: How Do I address ERROR: access violation writing 0x0000000000005140, Programming Web Development by Dani I don't have any python experience, sadly, but I am super awesome at jQuery. Once you solve this server-side problem at hand, if you find yourself with the jQ side of things not working, please don't hesitate to post. Re: Trying to animate sprite using DirectX9 Programming Software Development by Pavel_11 Hello, it is unneccessarily to use right movex or leftmovex , because it is to much variables. You should to use one variable movex to make it with minus or plus sign in your update function; by pressing left or right keys; because the one thing which is changable is a picture; I mean in global sense; variables like leftx, right x should be one… memory allocation Programming Software Development by dalaharp hi, in turbo C the maximum array size i am able to specify is array[250][250].. what should i do to enlarge this size to say..array[512][512].. i dont know a thing about memory allocation, so please help me out/.. :-| Memory allocation for 3D array Programming Computer Science by kalpana0611 Hi everyone I am dealing with visualization data formats for my project. Right now, I have two types of data format.. polygonal and unstructured mesh. And the data is in a 3D array format. I would like to know if there is any program or any method that I can use to find out about the memory allocation for this data. Any theory answer would be … Memory allocation error that doesn't make sence!? Programming Software Development by DarthPJB I return with another perplexing issue that I just can't figure out, a generic and unhelpful"std::bad_alloc at memory location" error. Before I get to the code, some background... Having finished my uber-awesome 2D engine (thanks entirely to you guys) I decided it was time to break open the can of worms that is the third dimension! … Re: Memory allocation error that doesn't make sence!? Programming Software Development by DarthPJB Right, I've narrowed down the problem further any now have an idea as to where it is. Yet it seems to make even less sense. The memory allocation error does occour on that line, however previous to that I get the following errors in the debug console: [code] First-chance exception at 0x7c91a5d3 in Engine Concept.exe: 0xC0000005: Access violation … Memory Allocation Error, writing past end of heap! Programming Software Development by DarthPJB Hello, my first post here, mostly due to every question I placed on google the answer is here (normally answered by a fellow Anime fan called Narue, someone's got their thinking cap on ^_^) Anyhow the problem is as follows, I'm writing a 2D game engine using DirectX9 (not relivent but interesting) I've created a class to deal with sprites and am… Memory Allocation of a Struct Programming Software Development by r30028 I'm having some trouble with dynamic memory allocation of a struct. The struct looks like this: [CODE]struct J { int w; int s; };[/CODE] During the execution of the program, the following line of code results in a crash, which when debugging was because of std::bad_alloc, which does not make any sense to me. [CODE]J* x … Re: Memory allocation (checking for success) Programming Software Development by sid78669 [QUOTE=sid78669;747235]I have a very similar issue. I am also doing and assignment and needed a function grow. This was to increase the size of the object array Savings by s, if it was not NULL, or make its size s if it was null. In both the case it was to check if the memory allocation was successful. This is where i get stuck. Any suggestions on … memory allocation ptr to array? how? Programming Software Development by kokopo2 hi people, i am having some problems, perhaps understanding about how dynamic memory allocation works with pointers and arrays. Im trying to get the user to input the size of the string in my program and allocates a certain amount of memory to hold the string of the size. Next, i am going to ask the user to input a string which must … Memory allocation of objects Programming Software Development by smileeok I have a question about the memory allocation of class. My compiler is GCC 4.1.2. I define a class called Foo, create three objects of it, and have a look at their addresses. Following is my code: [code=c++] class Foo { int k; }; int main() { Foo f1, f2, f3; cout << sizeof(Foo) << endl; //output : 4 cout <…