Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
"application
- Page 1
Retrieval Augmented Generation with Hugging Face Models in LangChain
Programming
Computer Science
3 Days Ago
by usmanmalik57
… ``` The script below imports the required libraries in your
application
. ``` from transformers import AutoModelForCausalLM, AutoTokenizer, logging, pipeline…;&
quot
;)[1]) ``` **Output:** ![image2.png](https://static.daniweb.com/attachments/4/3373e7139ba6c1245080052313b95cd4.png) ## Conclusion Creating a RAG
application
…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
3 Days Ago
by david.tigner
… /* Set the mail sender. */ $mail->CharSet = &
quot
;UTF-8&
quot
;; $mail->Encoding = 'base64'; $mail->isSMTP(); $…//if (!$mail->Send()) { //echo &
quot
;Mailer Error: &
quot
; . $mail->ErrorInfo; //}else{ // echo &
quot
;Message sent!&
quot
;; // } catch (Exception $e) {…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Day Ago
by Chris_103
It seems like you're experiencing issues with PHP-based email functionality, where submissions are not triggering emails to be sent. Let's dive into the code snippet you provided and see if we can identify any potential issues or improvements.
Question Answering with YouTube Videos Using RAG in LangChain
Programming
Computer Science
1 Week Ago
by usmanmalik57
…variable_name=&
quot
;chat_history&
quot
;), (&
quot
;user&
quot
;, &
quot
;{input}&
quot
;), (&
quot
;user&
quot
;, &
quot
;…
application
will be able to answer follow-up questions. ``` chat_history = [] def generate_response_with_memory(query): result = retrieval_chain.invoke({ &
quot
;chat_history&
quot
;: chat_history, &
quot
;input&
quot
…
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
3 Weeks Ago
by Hanginium65
… change the content type for the file transfer to &
quot
;
application
/octet-stream&
quot
;. The first was sent through to object storage but…=file_like_object, content_type='
application
/octet-stream' # Set the appropriate content type... ) Below is the error File &
quot
;/opt/scripts/netbox_backups_transfer.py&
quot
;, line 69…
Using Natural Language to Query SQL Databases with Python LangChain Module
Programming
Computer Science
2 Weeks Ago
by usmanmalik57
…Importing Required Libraries To connect your Python
application
with PostgreSQL and MySQL, you must…agent_executor = create_sql_agent(LLM, db=db, agent_type=&
quot
;openai-tools&
quot
;, verbose=True) response = agent_executor.invoke(query)…
Alteryx Upgrade - No workflow data in Gallery
Hardware and Software
1 Week Ago
by saichinnu1852
We are working on upgrading our Alteryx
application
as well as the MongoDB version. We have created a …
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Weeks Ago
by toneewa
….setColor(Color.black); g.drawString(&
quot
;Collision Count: &
quot
; + collisionCount, 20, 20); g.drawString(&
quot
;X: &
quot
; + b.get(1).getX… to 520x540 frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); // Close the
application
when the frame is closed frame.setVisible(true); }…
Re: Create And Install Windows Service Step By Step In C#
Programming
Web Development
1 Week Ago
by rproffitt
Since the answer would be many pages long, read https://learn.microsoft.com/en-us/dotnet/framework/windows-services/walkthrough-creating-a-windows-service-
application
-in-the-component-designer and consider the two other pages noted there.
How to Optimize RecyclerView performance by implementing the ViewHolder
Programming
Mobile Development
2 Weeks Ago
by Mikekelvin
… public void onBindViewHolder(ViewHolder holder, int position) { holder.textView.setText(&
quot
;Item &
quot
; + position); } @Override public int getItemCount() { return 100; // Example size…
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?
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
3 Weeks Ago
by david.tigner
Ran into some new issues. Here goes. In order to download PHPMailer, must download Composer. In order to install Composer, need a Command Line PHP.exe file. I do not have one of these. I have been using PHP services from URL provider, 1 & 1/Ionos since 2011. They said in order to get a Command Line PHP.exe file, requires SSH to 'Connect to …
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
3 Weeks Ago
by Biiim
You don't need composer or access to the php.exe. just locate the PHPmailer Directory into your web root, to keep it simple and the require links should point to where it is located. mine is `require 'includes/PHPMailer/src/PHPMailer.php';` cause I put it in a folder called includes, this should be relative to the file that is using it.…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Weeks Ago
by david.tigner
…&
quot
; . &
quot
;\r\n&
quot
; . // &
quot
;Name: &
quot
; . $_POST['Name'] . &
quot
;\r\n&
quot
; . // &
quot
;E-mail Address: &
quot
; . $_POST['Email'] . &
quot
;\r\n&
quot
; . // &
quot
;Phone Number: &
quot
; . $_POST['Phone'] . &
quot
;\r\n&
quot
; . // &
quot
…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Weeks Ago
by Dani
> After code changed, not only will still not send email but screen turns blank white. That's a PHP fatal error. It could be a syntax error, or it could also be that PHPMailer is not in the location you're telling PHP to look. Do you have any way of accessing the error log? Without access to the server, perhaps through a web-based control …
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Weeks Ago
by Dani
…&
quot
; . &
quot
;\r\n&
quot
; . &
quot
;Name: &
quot
; . $_POST['Name'] . &
quot
;\r\n&
quot
; . &
quot
;E-mail Address: &
quot
; . $_POST['Email'] . &
quot
;\r\n&
quot
; . &
quot
;Phone Number: &
quot
; . $_POST['Phone'] . &
quot
;\r\n&
quot
; . &
quot
…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Weeks Ago
by Biiim
… you find one that works: $mail->SMTPSecure = &
quot
;ssl&
quot
;; $mail->SMTPSecure = &
quot
;tls&
quot
;; $mail->Port = 587; $mail->Port… email body to send here Should be &
quot
;Comments or Questions: &
quot
; . $_POST['Message'] . &
quot
;\r\n&
quot
;; //make your email body to send…
How Do I address ERROR: access violation writing 0x0000000000005140,
Programming
Web Development
1 Month Ago
by A_957
… indicative of an access violation exception that occurred within my
application
. This type of error apparently usually points to a problem…(): user_input = request.form.get('inputPrompt') response = make_request(user_input) return jsonify({&
quot
;response&
quot
;: response}) if name == 'main': app.run(debug=True) In…
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
1 Month Ago
by Salem
… it being re-compressed again when you say &
quot
;content_type='
application
/gzip'&
quot
; ? It might be worth comparing the local and…container, 'object_netbox_2024-03-16.psql.gz', contents=file, content_type='
application
/octet-stream' ) with open('/var/backup/netbox_backups/netbox_media_2024-03-…
AI Frontier 2024: A Rapid Start to a Transformative Year
Community Center
2 Months Ago
by Johannes C.
…an accelerated pace in AI development, expansive
application
ranges, and an intensifying race towards achieving … ## Whitehouse Takes Steps to &
quot
;Enhance AI Safety and Security&
quot
; ## The Biden-Harris Administration's… yet another significant leap forward in AI's
application
in healthcare. This development, employing AI for…
PDF Image Table Extractor Web App with Google Gemini Pro and Streamlit
Programming
Computer Science
2 Months Ago
by usmanmalik57
… the Google Gemini Pro model. For Streamlit data
application
, you will need to install the `streamlit` library…'] = r&
quot
;PATH_TO_JSON_API_FILE&
quot
; model = GenerativeModel(&
quot
;gemini-pro-vision&
quot
;) config={ &
quot
;max_output_tokens&
quot
;: 2048, &
quot
;temperature&
quot
;: 0, &
quot
;top_p&
quot
;: 1, &
quot
;top_k&
quot
;: 32 }…
Paris Olympics Chatbot- Get Ticket Information Using Chat-GPT and LangChain
Programming
Computer Science
1 Month Ago
by usmanmalik57
…in an environment variable and retrieve it in your Python
application
via the following script. ``` openai_key = os.environ.…` attribute is optional. ``` prompt = ChatPromptTemplate.from_messages([ (&
quot
;system&
quot
;, '{assistant}'), (&
quot
;user&
quot
;, &
quot
;{input}&
quot
;) ]) ``` Next, you must create a chain combining…
How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
1 Month Ago
by Hanginium65
… == '404': print(&
quot
;The object &
quot
; + obj1 + &
quot
; was not found!&
quot
;) else: print(&
quot
;An error occurred checking … 'object_netbox_media_2024-03-20.tar.bz2', contents=file_tar_bz2, content_type='
application
/x-tar' ) # Confirm the presence of the …
Converting PDF Image to CSV Using Multimodal Google Gemini Pro
Programming
Computer Science
2 Months Ago
by usmanmalik57
… imports the required libraries into our
application
. ``` import base64 import glob import…
quot
;PATH_TO_VERTEX_AI_SERVICE_ACCOUNT JSON FILE&
quot
; model = GenerativeModel(&
quot
;gemini-pro-vision&
quot
;) config={ &
quot
;max_output_tokens&
quot
;: 2048, &
quot
;temperature&
quot
;: 0, &
quot
;top_p&
quot
;: 1, &
quot
;top_k&
quot
…
Choosing the Right Framework: Comparing Pros and Cons
Programming
2 Months Ago
by riyajohnson70
… supports two-way data binding, making it easier to manage
application
states. However, Angular's steep learning curve can be overwhelming…
Extract Tabular Data from PDF Images using Hugging Face Table Transformer
Programming
Computer Science
2 Months Ago
by usmanmalik57
…?family=Roboto&
quot
; -O roboto.zip !unzip roboto.zip -d ./roboto ``` The following script imports the required libraries into your
application
. ``` from…
Fine Tuning Google Gemma Model for Text Classification in Python
Programming
Computer Science
1 Month Ago
by usmanmalik57
… required libraries into your Python
application
. ``` import os import transformers… 8, target_modules = [&
quot
;q_proj&
quot
;, &
quot
;o_proj&
quot
;, &
quot
;k_proj&
quot
;, &
quot
;v_proj&
quot
;, &
quot
;gate_proj&
quot
;, &
quot
;up_proj&
quot
;, &
quot
;down_proj&
quot
;], task_type = &
quot
;CAUSAL_LM&
quot
;, ) ``` Finally, …
7 NLP Tasks to Perform for Free in Python with Mistral 7b LLM
Programming
Computer Science
1 Month Ago
by usmanmalik57
… free in a browser, utilizing its functions in a Python
application
via OpenAI API incurs charges. This is where open-source…) ``` **Output:** ``` 1. &
quot
;Scoops by the Sea&
quot
; 2. &
quot
;Beach Bites&
quot
; 3. &
quot
;Surfside Scoops&
quot
; 4. &
quot
;Wave Wonders&
quot
; 5. &
quot
;Ocean Oasis&
quot
; ``` ## 6. Code…
Devin Might Be Fake, Yet AI's Threat to Jobs Is Real.
Community Center
1 Month Ago
by Johannes C.
… Labs](https://www.cognition-labs.com/blog) While a &
quot
;success rate&
quot
; of approximately 13%, as claimed by Devin’s developers… to be real, I shall remain skeptical of this particular
application
. ## Why Freelancing Isn’t Dead (Yet) ## The rise of AI…
Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
by david.tigner
… = array( 'http' => array( 'header' => &
quot
;Content-type:
application
/x-www-form-urlencoded\r\n&
quot
;, 'method' => 'POST', 'content' => http_build_query…
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