Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
pass
- Page 1
Comparing Fine-tuned and Default GPT-3.5 Turbo for Text Classification
Programming
Computer Science
3 Days Ago
by usmanmalik57
… the OpenAI server first. Create an OpenAI client object and
pass
the file path to the `files.create()` method, as shown…-tuning, you must call the `fine_tuning.jobs.create()` method and
pass
it the ID of the uploaded training file and the…
Image Analysis Using OpenAI GPT-4o Model
Programming
Computer Science
1 Week Ago
by usmanmalik57
…`chat.competions.create()` method. You need to
pass
the model name and the list of messages to….png) The process remains the same. We
pass
the graph image and the text question to the…/2ba6611e4f1b93a4dd374b75f536451f.png) To process multiple images, you must
pass
both images to the `chat.completions.create()` method,…
Text to Speech Conversion Using Hugging Face Transformers
Programming
Computer Science
3 Weeks Ago
by usmanmalik57
… set the speech speed to 1.0. Notice that we
pass
the language and the device type to the `TTS` class…/myshell-ai/MeloTTS-English). To change a language, you must
pass
the language ID to the `language` attribute of the TTS…
OpenAI GPT-4o vs Meta Llama 3 for Zero Shot Text Classifiation
Programming
Computer Science
2 Weeks Ago
by usmanmalik57
… is to iterate through all the tweets in the dataset,
pass
each tweet to the `find_sentiment_gpt()` function, and predict the sentiment… We will create an object of the `Groq` class and
pass
the `llama3-70b-8192` model ID to the `model` attribute…
Re: Calling an object from another in PHP using construct
Programming
Web Development
4 Weeks Ago
by aishamushtaq
To avoid infinite loops when including objects of multiple classes in PHP OOP: 1. Use dependency injection to
pass
objects as dependencies. 2. Review class design for circular dependencies. 3. Refactor classes to break cyclic dependencies if necessary.
Re: Generate Stunning AI Images for Free Using Diffusion Models
Programming
Computer Science
3 Weeks Ago
by rproffitt
Read this today: > A.I. made me believe in the concept of the human soul by showing me what art looks like without it.
pass data to another asp page
Programming
Software Development
1 Month Ago
by Fergus_1
ok so i have a page with a gridview on it and it displays rows from sql table. i have also a link assigned to each row: <asp:GridView ID="GridViewMatters" runat="server" AutoGenerateColumns="False" OnRowDataBound="GridViewMatters_RowDataBound"> <Columns> <asp:…
Paris Olympics Chatbot- Get Ticket Information Using Chat-GPT and LangChain
Programming
Computer Science
2 Months Ago
by usmanmalik57
…call the `invoke()` method using the model object and
pass
it your input query. ``` result = llm.invoke("…. In the following script, we ask a question and
pass
the context manually. ``` document_chain.invoke({ "input"…can use your vector database's `retriever()` class and
pass
it along with the `document_chain` object to the `…
Claude 3 Opus Vs. Google Gemini Vs. GPT-4 for Zero-Shot Text Classification
Programming
Computer Science
2 Months Ago
by usmanmalik57
…create an Object of the `GenerativeModel` class and
pass
the input query to the `model.generate_content()` … Next, we iterate through all the tweets and
pass
each tweet to the `find_sentiment_gpt()` function. The… ) return sentiment.content[0].text ``` We can
pass
all the tweets to the `find_sentiment_claude()` function and store…
Paris Olympics Ticket Information Chatbot with Memory Using LangChain
Programming
Computer Science
2 Months Ago
by usmanmalik57
… the Eiffel Tower Stadium in Paris. ``` Let's
pass
another query. ``` query = "And what is…Next, while invoking the `history_retriever_chain` object, we
pass
the user input and the chat history. In the… together to create our final `create_retrieval_chain`. We will
pass
the chat history and user input to this `retrieval_chain…
Using Natural Language to Query SQL Databases with Python LangChain Module
Programming
Computer Science
2 Months Ago
by usmanmalik57
…a LangChain SQL agent using the `create_sql_agent()` function. You
pass
the LLM and database to the agent. In addition, … object using the `SQLDatabase` class. Then, you must
pass
the database connection string to the `from_uri()` method of …gt;`. Next, you can write a query string and
pass
the database object and the query string to the …
Retrieval Augmented Generation with Hugging Face Models in LangChain
Programming
Computer Science
1 Month Ago
by usmanmalik57
… so, you can use any embedding model from Hugging Face.
Pass
the embedding model's path to the langChain `HuggingFaceEmbeddings` class… to create a retriever using the vector store object and
pass
the `retriever` and the `document_chain` to the `create_retrieval_chain` class. The…
Generate Stunning AI Images for Free Using Diffusion Models
Programming
Computer Science
1 Month Ago
by usmanmalik57
…;) pipe.to("cuda") ``` The next step is to
pass
a text prompt to the `prompt` attribute of the pipeline… you did before. Next, you create a refiner model and
pass
the base model to it. The refiner will build upon…
Question Answering with YouTube Videos Using RAG in LangChain
Programming
Computer Science
1 Month Ago
by usmanmalik57
… extracts video transcripts and additional video information. You need to
pass
a list of YouTube video URLs to this method. The…
'We'll Know We Have AGI When >50% of the GDP is Generated by AI'
Community Center
1 Month Ago
by Johannes C.
… like asking when a bullet train will arrive at or
pass
through Tokyo. ## 3. In what ways do you believe AI…
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
2 Months Ago
by Hanginium65
… read the contents of the tar.bz2 file and then
pass
them as a file-like object to the 'put_object' and…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
by Biiim
… spf1 The SPF record version include + _spf-us.ionos.com
Pass
The specified domain is searched for an 'allow…
Re: Using Natural Language to Query SQL Databases with Python LangChain Module
Programming
Computer Science
1 Month Ago
by aishamushtaq
very helpful
Re: "Pass By Value In Java"?
Programming
Software Development
12 Years Ago
by Muralidharan.E
Pass
by value-
Pass
primitive datatype variable.
Pass
by reference-
pass
class Object.
Re: "Pass By Value In Java"?
Programming
Software Development
12 Years Ago
by mayaarjun
Pass
by value- passing the copy of the value.
Pass
by reference- passing the address itself rather than passing the value.
Re: Pass data from asp.net to php
Programming
Web Development
14 Years Ago
by Ramesh S
Pass
the value as a query string from asp.net to php. Also refer this link: [URL="http://www.codeproject.com/KB/cs/IntegrationTips.aspx"]Tips to Make ASP.NET Talk to ASP, PHP, RAILS and JAVA (Part 1)[/URL]
Re: Pass array of values from Javascript to PHP
Programming
Web Development
14 Years Ago
by wrivera
pass
them using post or get then you can access them …
Re: pass db entry from one page to another
Programming
Web Development
14 Years Ago
by MatthewGrace
Pass
the data as a query string. for example: [url]http://www.google.com/?shiv=10[/url] like that.
pass by help
Programming
Software Development
17 Years Ago
by Senekha
… the crap. I'm having problems with simple things like
pass
by values - I can't seem to get my head… on here. Any help is *greatly* appreciated. I want to
pass
this course, and the lectures aren't doing anything for…
Pass by Reference: Need help!
Programming
Software Development
15 Years Ago
by techgenie
… it works well when I
pass
by value. The assignment requires a
pass
by reference function or I…value. My dilemma is how do I call the
pass
by reference function properly. I am desperate. Please…cent(float); // function prototype (
pass
by value) void fahren(float &); // function prototype (
pass
by reference) // function main …
Re: pass by refrence help
Programming
Software Development
12 Years Ago
by MandrewP
…original paycheck remains unscathed. And so it is when we
pass
variables by value. But what if we wanted to …& whatever) { cout << whatever; //so whatever we
pass
to our function (it has to be a double) it…just have straight code to calulate the Fahrenheit and then
pass
that to your print function which takes a reference, and…
Pass function in C++, getting errors
Programming
Software Development
13 Years Ago
by dhruv_arora
…]; cout<<"Enter password :- ";
pass
=enterPass(); if(strcmp(
pass
,"myworld")==0) { cout<<"Correct Password… I am getting are :- [CODE] 24 C:\Users\Dhruv\Desktop\
pass
.cpp incompatible types in assignment of `char' to `char[15…
Pass POST parameter to other file
Programming
Web Development
1 Year Ago
by Stefce
…$username = "user"; $password = "
pass
"; $dbname = "name"; // Create … $_SERVER['HTTP_CLIENT_IP']; }elseif(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){ //ip
pass
from proxy $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; }else{…
Pass Value & Pass-By-Reference
Programming
Software Development
16 Years Ago
by Moporho
… conversions. Requirements: 1. One of the functions must use
pass
-by-value, returning the converted measure 2. One of the… functions must use
pass
-by-reference to store its result (the function does …up correctly, but I want to see if the
pass
-by and
pass
values were correct. Can someone look at this …
Re: Pass function in C++, getting errors
Programming
Software Development
13 Years Ago
by nbaztec
…in it. My code was somewhat like this: [CODE] char
pass
[50]; int i=0; while(1) { char ch =… getch(); if(ch == '\r') {
pass
[i++]='\0'; break; } else if(ch=='\b') { cout<<…;"\b \b"; i--; } else
pass
[i++]=ch; } [/CODE] This should mask out characters while …
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
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