Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
optional
- Page 1
Paris Olympics Chatbot- Get Ticket Information Using Chat-GPT and LangChain
Programming
Computer Science
3 Weeks Ago
by usmanmalik57
… the value for the `user` attribute. The `system` attribute is
optional
. ``` prompt = ChatPromptTemplate.from_messages([ ("system", '{assistant}'), ("user"…
DaniWeb Auto Answer A.I. feature
Community Center
Meta DaniWeb
1 Week Ago
by toneewa
… questions that are marked as Solved. It can be an
optional
feature, like "Ask DaniWeb AI". When a user…
Re: DaniWeb Auto Answer A.I. feature
Community Center
Meta DaniWeb
1 Week Ago
by Dani
Currently, when you ask a question on DaniWeb, as you type in the title and message, we perform a search against all of our existing content to see if a similar question has already been asked. However, I do admit that I don't have any experience with ChatGPT nor do I know how to train an AI model. From my understanding, the API costs money, …
Re: DaniWeb Auto Answer A.I. feature
Community Center
Meta DaniWeb
1 Week Ago
by toneewa
The question was inspired from seeing [news](https://blogs.nvidia.com/blog/chat-with-rtx-available-now/) and [videos](https://www.youtube.com/watch?v=UKURI5JSIts) on Chat with RTX.
Re: DaniWeb Auto Answer A.I. feature
Community Center
Meta DaniWeb
1 Week Ago
by Dani
That looks interesting. It’s not relevant to us because we would need an expensive GTX video card, Windows computer, and there’s no API … but it looks intriguing :)
Re: DaniWeb Auto Answer A.I. feature
Community Center
Meta DaniWeb
1 Week Ago
by toneewa
An RTX 30 or 40 series card with 8GB of VRAM. ~$299. There is no support with Wine a user has reported. There was a link to a [python api](https://github.com/rpehkone/Chat-With-RTX-python-api). That was just an example and a thought, but not limited there. There's creative solutions. Having only users with an RTX card can use the feature, …
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: DaniWeb Auto Answer A.I. feature
Community Center
Meta DaniWeb
1 Week Ago
by toneewa
I have yet to try it or find it's limitations. Trying to free up some space. Those were the minimum requirements, plus 16GB of RAM and ~100GB free space. I also don't know how large a dataset for DaniWeb would be. Will know more later.
Re: DaniWeb Auto Answer A.I. feature
Community Center
Meta DaniWeb
1 Week Ago
by toneewa
It indeed seems to be working. The interface is all done in the browser, on your localhost, 127.0.0.1:43905/?__theme=dark, and I stripped it down to just the message box. Just have to gather more data, and it seems good. Took ~50 minutes to get installed. The dataset can be a simple text file with a space between each topic thread.
Re: DaniWeb Auto Answer A.I. feature
Community Center
Meta DaniWeb
1 Week Ago
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 …
Optional negotiation
Hardware and Software
Networking
12 Years Ago
by PHIPH
optional
Negotiation with Example
Optional Funtions
Programming
Software Development
9 Years Ago
by DragonMastur
Is it posible to have an
optional
veriable in a funtion? Such as this: >>>def Say(msg, (
optional
)): >>> print msg >>> print
optional
>>> >>>Say('hi', 'option') hi option >>>Say('not') not If so How?
Re: Optional Funtions
Programming
Software Development
9 Years Ago
by vegaseat
You could do this ... def say(msg,
optional
=""): print(msg) if
optional
: print(
optional
) say('hi', 'option') ''' hi option ''' print('-'*12) say…
Optional Closing Tags in HTML
Digital Media
UI / UX Design
15 Years Ago
by tecktalk
… never realized that the closing </head> tag was
optional
in HTML. I feel as if I've missed the… life of me strip out closing tags because they are
optional
in HTML. I'd be concerned that something, somewhere would…
Optional parameter before mandatory in range?
Programming
Software Development
15 Years Ago
by Wumbate
… thought mandatory parameters have to be at the beginning, and
optional
parameters come afterwards? When I try to create my own… function with a mandatory parameter after an
optional
parameter, I get an error "non-default argument follows…
optional parameters in c#
Programming
Software Development
15 Years Ago
by Raj.Acharya
Hi, how to declare
optional
parameters in C#. Like... public void test(int a,
Optional
int b) Thanks in advance.
optional variables in php functions
Programming
Web Development
15 Years Ago
by isotope
… would like to know if it is possible to have
optional
variable in functions. Let's say, for instance, that I… in... Is there a way to say that $c is
optional
, in order to avoid the message to be displayed? Thank…
Re: Optional Closing Tags in HTML
Digital Media
UI / UX Design
15 Years Ago
by Thirusha
this is the first time i m hearing of tags being
optional
, and luckily too. i m way too used to closing tags and if i had know that sooner, i most probably would of not closed a lot of tags and become a sloppy programmer.
Re: optional parameters in c#
Programming
Software Development
15 Years Ago
by jireh
I disagree on LizR. we can an
optional
parameter. try this... [code] private void Form1_Load(object sender, EventArgs e) { sample("Hello World."); } private void sample(string str, params object[] mode) { MessageBox.Show(str); } [/code] hope this would help. regards.
Re: optional variables in php functions
Programming
Web Development
15 Years Ago
by somedude3488
to make it
optional
, you have to set the varible with a value in the function. ex. [code] <?php function test( $a,$b,$c='') { //do what you need } ?> [/code]
Optional frame
Digital Media
UI / UX Design
13 Years Ago
by glindhot
… was a combination – a standard frameless page but with an
optional
link to a frame. The link reads: Frame version – if…
Optional file upload field?
Programming
Web Development
12 Years Ago
by mspn
… file. However, I would like the file upload to be
optional
but at the moment if no file is selected I…
Optional command line argument?
Programming
Software Development
12 Years Ago
by mwjones
Is it possible to have an
optional
command-line argument? For example, I want: [CODE]script.py -…
Optional image download button
Programming
Web Development
12 Years Ago
by subrataa
… another code by which I can create this type of
optional
download button using php. Looking forward to hear from you…
Optional form fields
Programming
Web Development
10 Years Ago
by GlenRogers
… has 'artist' 'linl' and 'link text'. link and linktext are
optional
. My code at the minute needs all to be filled…
Java Functional - Optional Chaining
Programming
Software Development
2 Years Ago
by dimitrilc
…How to NOT use an
Optional
## The method `
Optional
#get` should never be used…, we can use builtin
Optional
methods `
Optional
#filter` and `
Optional
#map` like the code …} } } private static void optChain(){ //16
Optional
.<LocalDate>empty() //17 .filter(Entry::…
Re: Java Functional - Optional Chaining
Programming
Software Development
2 Years Ago
by JamesCherrill
…() and map() methods automatically perform the
Optional
emptiness check for us, and return an empty
Optional
object downstream Thank you so much… for this little gem. I was always disappointed with
Optional
, too much overhead and verbiage compared to the `?.` syntax of…
How to i use optional parameter value in my function
Programming
Software Development
13 Years Ago
by hery
… to ask for you, how to i create function with
optional
parameter in webservice and how i call this function in…;)] public bool inputAllData(string myTable, [
Optional
, DefaultParameterValue("")] string field1, [
Optional
, DefaultParameterValue("")] string field2, [
Optional
, DefaultParameterValue("")] string field3…
parsing SMPP deliver_sm PDU with optional parameters
Programming
Web Development
13 Years Ago
by orxanx
…: message_state (0x0427) Tag: 0x0427 Length: 1 Message state: DELIVERED (2)
Optional
parameter: receipted_message_id (0x001e) Tag: 0x001e Length: 9 SMSC identifier: 4D17A644
Re: How to i use optional parameter value in my function
Programming
Software Development
13 Years Ago
by kvprajapati
You can't use
optional
parameters in WebMethod. Take a look at an alternative - Method overloading.
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