Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
python-3.x
- Page 1
Question Answering with YouTube Videos Using RAG in LangChain
Programming
Computer Science
6 Days Ago
by usmanmalik57
…cpu ``` The script below imports the required libraries into our
Python
application. ``` from langchain_community.document_loaders import YoutubeLoader from langchain_openai import…;chat_history": [], "input": "What are the top
3
things to do?" }) print(result['answer']) ``` **Output:** ``` …
Re: Which programming language is best Ludo game development?
Programming
Game Development
3 Days Ago
by kishanrg
… development, including Ludo games, are C++, C#, Java, JavaScript, and
Python
. Ultimately, the "best" programming language for Ludo game…
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
6 Days Ago
by jprog1000
Got it. Thank you so much!
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
5 Days Ago
by vortex_1
In my opinion, implementing a feature in a bouncing balls simulation where a new ball is created when two balls collide can add an interesting and dynamic element to the simulation. This feature can introduce a sense of complexity and unpredictability, making the simulation more engaging and challenging for users. It could also provide an …
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
5 Days Ago
by jprog1000
Great reply, vortex! Agree with all your points.
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
4 Days Ago
by Digital_39
Hi, Its helpful for me. I got my answer.
Re: Which programming language is best Ludo game development?
Programming
Game Development
3 Days Ago
by polles
i would choose JavaScript
Re: Installing programs from Github
Programming
Software Development
4 Weeks Ago
by rproffitt
>
Python
is an interpreted language, which means the source code of a
Python
program is converted into bytecode that is then executed by the
Python
virtual machine. As such the .exe would be the
Python
virtual machine and not your
Python
apps.
Using Natural Language to Query SQL Databases with Python LangChain Module
Programming
Computer Science
1 Week Ago
by usmanmalik57
…language. For this purpose, you will use the
Python
[LangChain](https://
python
.langchain.com/docs/get_started/introduction) library. The LangChain…units sold. 2. Product KSZOI with 122 units sold.
3
. Product EVFFA with 125 units sold. 4. Product …with 31 orders 2. Customer THHDP with 30 orders
3
. Customer IRRVL with 28 orders 4. Customer FRXZL …
How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
4 Weeks Ago
by Hanginium65
…, 'object_netbox_media_2024-03-20.tar.bz2', contents=file_tar_bz2, content_type='application/
x
-tar' ) # Confirm the presence of the object holding the…Below is the error I got after running the script.
Python
Traceback (most recent call last): File "/opt/scripts…
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
3 Weeks Ago
by Salem
… sc 10240 Mar 23 08:26 foo.tar The gzip
python
library only does decompression. It knows nothing of the structure… check it is actually storing a compressed version. The tarfile
python
library does know about tar files, and gives you a…
Paris Olympics Chatbot- Get Ticket Information Using Chat-GPT and LangChain
Programming
Computer Science
4 Weeks Ago
by usmanmalik57
…(convert documents to numeric values) and the
Python
[LangChain](https://
python
.langchain.com/docs/get_started/introduction) library as …in an environment variable and retrieve it in your
Python
application via the following script. ``` openai_key = os… likely to contain a response for the query.
3
. Pass the user query and the matched document…
Re: Installing programs from Github
Programming
Software Development
4 Weeks Ago
by Reverend Jim
… as native controls for the platform. There is also a
python
package called pyinstaller which you can use to wrap a…
python
application as an executable (.exe). I find ths useful when …, for example, to hmviewer.exe (home movie viewer) rather than
python
.exe, which I would have to do wthout running it…
Middle Aged Needing Career Advice
Community Center
Geeks' Lounge
1 Week Ago
by BigPaw
… back into developing, and so I'm learning
Python
. Where should I go with
Python
, though? I'm a troubleshooter by nature…
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Weeks Ago
by toneewa
… ( Math.random() * 5 + 2 ); } if (xUp)
x
+= xDx; else
x
-= xDx; if ( yUp ) y += yDy; else y -= … public boolean containsPoint(int
x
, int y) { int dx = this.
x
-
x
; int dy = this.…
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Weeks Ago
by toneewa
…Math.random() * 5 + 2 ); } if (xUp)
x
+= xDx; else
x
-= xDx; if ( yUp ) y += yDy; else y…return true; } else if (this.
x
<= b.
x
){ this.xUp = false; this.yUp…
Re: Trying to animate sprite using DirectX9
Programming
Software Development
3 Weeks Ago
by Pavel_11
…sprite if(KEY_DOWN(VK_RIGHT)) { cavemanRight.movex = +5; cavemanRight.
x
+= cavemanRight.movex; cavemanRight.y += cavemanRight.movey; } if(KEY_DOWN…(VK_LEFT)) { cavemanRight.movex = -5; cavemanRight.
x
+= cavemanRight.movex; cavemanRight.y += cavemanLeft.movey; } if(cavemanRight…
How Build video-player in html And css ?
Programming
2 Weeks Ago
by Kirubel_2
…;share").style.display="none"; } else{
x
=document.getElementById("share").style.display="initial"…;follow").style.display="none"; } else{
x
=document.getElementById("follow").style.display="initial"…
Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Weeks Ago
by jprog1000
… int ) ( Math.random() * 5 + 2 ); } if (xUp)
x
+= xDx; else
x
-= xDx; if ( yUp ) y += yDy; else y -= yDy; …b[2] = new Ball (20, 188,40); b[
3
] = new Ball (144, 100,40); b[4] =…
Re: How Build video-player in html And css ?
Programming
2 Weeks Ago
by Kirubel_2
…-decoration: none; } .sidebar ul li:hover{ background: rgb(
3
, 41, 72); border-radius: 10px; cursor: pointer; } … background-repeat: no no-repeat; overflow-y: scroll; overflow-
x
: auto; } .body2{ height: 100%; width: 100%; …
Re: DaniWeb Auto Answer A.I. feature
Community Center
Meta DaniWeb
1 Week Ago
by toneewa
…. There was a link to a [
python
api](https://github.com/rpehkone/Chat-With-RTX-
python
-api). That was just an example…
Re: Read file properties of video files in C++
Programming
Software Development
2 Weeks Ago
by rproffitt
… the man who was turned into a newt in Monty
Python
who said "I got better", such are better…
Re: DaniWeb Auto Answer A.I. feature
Community Center
Meta DaniWeb
1 Week Ago
by Dani
Pardon my cluelessness here. A $300 video card can efficiently perform complex AI tasks against DaniWeb’s entire database in real time? Missed the link to the
Python
API.
Re: Which social sites is best for SEO?
Digital Media
Digital Marketing
4 Weeks Ago
by KomalBhatt
wechat telegram tiktok trello snapchat skype
x
(twitter) Threads
Re: Where will Twitter be in a few months?
Community Center
Geeks' Lounge
3 Weeks Ago
by Dani
It's now a year later, and apparently Twitter ended up in the trash. We only have
X
now ... ;)
Re: Mastodon
Community Center
Geeks' Lounge
3 Weeks Ago
by Dani
I just stumbled upon this and had no idea that Mastodon was even a thing 6 years ago, pty! I first became aware of them back when Elon bought Twitter (ahem,
X
) and everyone fled ship trying to find an alternative. Sorry no one replied to this thread until now. Guess you were just too ahead of your time. ;)
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
3 Weeks Ago
by Hanginium65
Good day, Salem. My apologies for taking so long to reply to your suggestion. I refactored my code to read the contents of the tar.bz2 file and then pass them as a file-like object to the 'put_object' and also to change the content type for the file transfer to "application/octet-stream". The first was sent through to object storage …
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
3 Weeks Ago
by Salem
I don't understand why you need to extract all the files from the compressed `tar.bz2` just to upload to a backup. Also, line 69 is now meaningless having just posted only a snippet of the code. Before the error, what was the last `logger.info` message?
Installing programs from Github
Programming
Software Development
4 Weeks Ago
by Audun
Hi I downloaded Tkinter Designer, but there´s no exe there. I´ve used Thonny as a "compiler" for running scripts, and I used it to "make" a a simple program, but I don´t know how to save as an exe, and I don´t know how I would put these files into Thonny. Am I even using the right program ?
Paris Olympics Ticket Information Chatbot with Memory Using LangChain
Programming
Computer Science
3 Weeks Ago
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 …
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
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
© 2024 DaniWeb® LLC