Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
string.contains()
- Page 1
How do I swap out the mesh on a humanoid armature in Unity 3D?
Programming
Game Development
3 Weeks Ago
by Michael_80
… mesh renderer of the starter asset character? The new prefab
contains
multiple mesh overlays,(i believe the original is in underpants…
Retrieval Augmented Generation with Hugging Face Models in LangChain
Programming
Computer Science
2 Weeks Ago
by usmanmalik57
… get customized responses based on the document embeddings. The response
contains
concatenated user input and the model's reply. Therefore, I…
Re: Determine if email address is used by scammer
Digital Media
Digital Marketing
Search Engine Strategies
3 Weeks Ago
by KomalBhatt
… domains, not common email services like Gmail. If the emails
contains
poor grammar, urgent language, or requests for personal information then…
Re: Chrome generates AI content
Community Center
2 Weeks Ago
by rproffitt
…. Use “before:2023" at the beginning of your search
string
. You get a completely different set of results which won…
Re: how to create a simple elevator simulation?
Programming
Software Development
2 Weeks Ago
by trueframe
To make a basic elevator simulation, first, identify the floors and the elevator's capacity. Then, use loops and conditionals in programming to mimic its movement. Include buttons for users to call the elevator and select floors. Test thoroughly for accuracy.
Re: Extract Tabular Data from PDF Images using Hugging Face Table Transformer
Programming
Computer Science
1 Week Ago
by Harini sri
Hi, Thank you so much for the above code. Its giving better results compared to other libraries. I have few questions. In some tables, I have common column name for three columns and further I have sub columns like below.... in these cases the tables are not getting extracted properly...Do you have any suggestions for handling such cases? Also …
Re: Using Natural Language to Query SQL Databases with Python LangChain Module
Programming
Computer Science
2 Weeks Ago
by aishamushtaq
very helpful
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
3 Weeks Ago
by jprog1000
Got it. Thank you so much!
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
3 Weeks 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
3 Weeks 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
3 Weeks Ago
by aishamushtaq
Hi, Its helpful for me. I got my answer.
Paris Olympics Chatbot- Get Ticket Information Using Chat-GPT and LangChain
Programming
Computer Science
1 Month Ago
by usmanmalik57
…StrOutputParser` object that you can use to directly retrieve
string
responses without using the `content` attribute, as shown…Chat-GPT can only generate correct responses if it
contains
the answer in its knowledge base. Since the latest… retrieved from the vector database. The context information
contains
the answer to our query. We will create a…
7 NLP Tasks to Perform for Free in Python with Mistral 7b LLM
Programming
Computer Science
1 Month Ago
by usmanmalik57
… inputs to the `model.generate()` method. The model's response
contains
both the input text and the corresponding response. We will… extract the response text only by splitting the
string
using the `[/INST]` substring. ``` def generate_response(input_text, response_tokens, temperature): messages…
Paris Olympics Ticket Information Chatbot with Memory Using LangChain
Programming
Computer Science
1 Month Ago
by usmanmalik57
… users to enter queries as console inputs. If the input
contains
the
string
`bye`, we empty the `chat_history` list, print a goodbye…
Claude 3 Opus Vs. Google Gemini Vs. GPT-4 for Zero-Shot Text Classification
Programming
Computer Science
1 Month Ago
by usmanmalik57
…, or neutral sentiments. The `text` column
contains
the tweet texts, while the `airline_sentiment` column
contains
sentiment labels. The following script imports the… returns its sentiment. Pay attention to the `content` variable. It
contains
the prompt we will pass to our Google Gemini Pro…
Extract Tabular Data from PDF Images using Hugging Face Table Transformer
Programming
Computer Science
2 Months Ago
by usmanmalik57
…. The function returns a list of rows where each row
contains
cell values for all the columns. ``` def get_cell_coordinates_by_row(table_data): # Extract…
Fine Tuning Google Gemma Model for Text Classification in Python
Programming
Computer Science
2 Months Ago
by usmanmalik57
….com/datasets/lakshmi25npathi/imdb-dataset-of-50k-movie-reviews) that
contains
around 50k positive and negative movie reviews. The following script…
Retrieval Augmented Generation (RAG) with Google Gemma From HuggingFace
Programming
Computer Science
2 Months Ago
by usmanmalik57
…/attachments/4/e5930a7bf31af9dbc67bfc819d409f72.png) You can see that the response
contains
information from our dataset. The response is more customized depending…
Using Natural Language to Query SQL Databases with Python LangChain Module
Programming
Computer Science
1 Month Ago
by usmanmalik57
…` class. Then, you must pass the database connection
string
to the `from_uri()` method of the `SQLDatabase` class…. For PostgreSQL, the syntax of the connection
string
is as follows: ``` f"postgresql+psycopg2://postgres…PostgreSQL. The only thing that changes is the connection
string
, whose syntax should be as follows: ``` '…
Create And Install Windows Service Step By Step In C#
Programming
Web Development
1 Month Ago
by Rabiya_1
…void WorkProcess(object sender, System.Timers.ElapsedEventArgs e) {
string
process = "Timer Tick " + count…LogService(process); count++; } protected override void OnStart(
string
[] args) { LogService("Service is Started&…
Re: i don´t understand this syntax error when using OpenCV
Programming
Databases
2 Months Ago
by Reverend Jim
…\pica.webp') Using `r'` in front of a
string
indicates a raw
string
and the backslashes will not be interpreted as special… unless the backslash is the final character in the
string
. You could also use image = cv2.imread(C:\\Users\\Audun…
C++ programming error
Programming
2 Months Ago
by sammieb
I am trying to enter a single
string
in C++ in which I give a URL citation. the … single quotes instead of double quotes before and after my
string
. But when I replace them with double quotes, I get…
i don´t understand this syntax error when using OpenCV
Programming
Databases
2 Months Ago
by Audun
… -c $EDITOR_CONTENT Traceback (most recent call last): File "<
string
>", line 6 image = cv2.imread(“C:\Users\Audun…
Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
1 Month Ago
by jprog1000
… javax.swing.JFrame; public class Frame{ public static void main(
String
args[] ) { JFrame frame = new JFrame( "Bouncing Balls" ); Ball…
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
1 Month Ago
by toneewa
… javax.swing.JFrame; public class Frame{ public static void main(
String
[] args) { JFrame frame = new JFrame( "Bouncing Balls" ); Ball…
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
1 Month Ago
by toneewa
… javax.swing.JFrame; public class Frame { public static void main(
String
[] args) { JFrame frame = new JFrame("Bouncing Balls"); Ball…
Re: DomContentLoaded vs jQuery Ready fn
Programming
Web Development
1 Month Ago
by jkon
… fact that I load jQuery (in one minified file that
contains
also every JavaScript that this part of the app requires… { _fncl=true; //I load here the minified JavaScript file that
contains
jQuery }; window.addEventListener("DOMContentLoaded", _fnc); window.onload=function…
Re: ABC for Github-programs and Python
Programming
Software Development
1 Month Ago
by Reverend Jim
… a few seconds. Once done the D:\apps\MyVirtual folder
contains
a pile of python files (executables, packages, etc. You activate…
Re: Improve HAVING BY performance
Programming
Databases
1 Month Ago
by toneewa
…stmt->getResultSet(); while (result1->next()) {
string
name = result1->getString("ProductName"); double…stmt->getResultSet(); while (result2->next()) {
string
name = result2->getString("ProductName"); double…
Re: Why am getting different syntax errors when running a Python script
Programming
Software Development
2 Months Ago
by Tom_45
After I posted this question I noticed that I was missing the raw
string
indicator and the capture group enclosing parenthesis on the findall, which explains the subscripting error. So, hold off on the answers for now. I'm still having other issues with multiple file runs, though.
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
Forums
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
© 2024 DaniWeb® LLC