Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
attribute
- Page 1
Using Natural Language to Query SQL Databases with Python LangChain Module
Programming
Computer Science
4 Weeks Ago
by usmanmalik57
… the agent. In addition, you need to set the `agent_type`
attribute
to `open_tools`, which tells the agent to use the OpenAI… tools to process agent queries. Finally, we set the `verbose`
attribute
to `True` to see how the agent processes the input…
pass data to another asp page
Programming
Software Development
2 Weeks Ago
by Fergus_1
… is good. But i would like to send the our_ref
attribute
to the page itself aswell as the url and use…
Summarizing YouTube Video Transcriptions Using Distil Whisper and LLM
Programming
Computer Science
1 Week Ago
by usmanmalik57
….com/watch?v=5sLYAQS9sWQ" youtube_video_content = YouTube(youtube_video_url) ``` The `streams`
attribute
of the `YouTube` class object returns various audio and video…
Re: Using Natural Language to Query SQL Databases with Python LangChain Module
Programming
Computer Science
1 Week Ago
by aishamushtaq
very helpful
Paris Olympics Chatbot- Get Ticket Information Using Chat-GPT and LangChain
Programming
Computer Science
1 Month Ago
by usmanmalik57
… case, you must specify the value for the `user`
attribute
. The `system`
attribute
is optional. ``` prompt = ChatPromptTemplate.from_messages([ ("system", '{… use to directly retrieve string responses without using the `content`
attribute
, as shown in the script below. ``` output_parser = StrOutputParser() chain = …
How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
1 Month Ago
by Hanginium65
…’m getting an error regarding the ‘TarFile’ object having no
attribute
‘read’ after running my script. when it comes to the…;module> file_contents = file_tar_bz2.read() AttributeError: 'TarFile' object has no
attribute
'read'
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
1 Month Ago
by Hanginium65
… I got the error regarding the 'NoneType' object having no
attribute
'read'. Please see below the attempt I made and the…; file_contents = file_tar_bz2.extractfile(file_info).read() AttributeError: 'NoneType' object has no
attribute
'read'
Paris Olympics Ticket Information Chatbot with Memory Using LangChain
Programming
Computer Science
1 Month Ago
by usmanmalik57
… from our vector database. The template will have a `MessagesPlaceholder`
attribute
to store our previous chat. We will also define `history_retriever_chain…
Re: Using ChatGPT to Interact with Third-Party Applications in Python
Programming
Computer Science
2 Months Ago
by catherine_11
Integrating ChatGPT with third-party applications in Python involves utilizing [OpenAI's API](http://www.google.com). Begin by obtaining API credentials, then craft Python scripts to send requests and process responses. Adhere to OpenAI's documentation for optimal integration, ensuring secure and efficient interaction with the ChatGPT model.
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
1 Month Ago
by Salem
First, let's prepare two tar files using different compression schemes for demo purposes. $ cat foo_1.txt This is file 1 $ cat foo_2.txt This is file 2 This is file two This is file too # Three tar files, two compressed and one uncompressed for reference $ tar -j -c -f foo.tar.bz2 foo_1.txt foo_2.txt…
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
1 Month 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?
Attribute
Programming
Software Development
15 Years Ago
by Merkant
Please help me in understanding purpose of creating my own attributes. If you could make some examples of task, where creating my own
Attribute
type is the only way, i would be really thankful.
Attribute errors
Programming
Software Development
15 Years Ago
by jimjag
Hey I'm having a problem with an
attribute
error that i was wondering how to fix the code … i run it it tells me player 1 has no
attribute
"direction" any help would be much appreciated…
Attribute Error in Python Code
Programming
Software Development
9 Months Ago
by ashishhhroe
… trying to run a python code but it's showing
attribute
error- my_string = "Hello, world!" my_string.reverse() Output for… <module> my_string.reverse() ^^^^^^^^^^^^^^^^^ AttributeError: 'str' object has no
attribute
'reverse' Could you please help me solve this? Thanks in…
Re: Attribute errors
Programming
Software Development
15 Years Ago
by woooee
…. The problem is not that Player1 doesn't have an
attribute
named direction, the problem is that you don't have…
Re: Attribute errors
Programming
Software Development
15 Years Ago
by jimjag
…. The problem is not that Player1 doesn't have an
attribute
named direction, the problem is that you don't have…
Re: Attribute Error in Python Code
Programming
Software Development
9 Months Ago
by Reverend Jim
… message says, strings do not have a "reverse"
attribute
(method or property). You can reverse a string by newstring…
Attribute error, Cookies not found!
Programming
Software Development
15 Years Ago
by john_bboy7
I am getting an
attribute
error...Group not found on cookie = m.group(1) Can …
Re: Attribute error, Cookies not found!
Programming
Software Development
15 Years Ago
by john_bboy7
[QUOTE=jlm699;656083]Right here. In your python script you have 'auth=auth'. It should be [icode]r = curl(o+"RedirLogin.aspx?auth=%s" % auth, get_header = True)[/icode][/QUOTE] Yes it worked but i am still getting that error: cookie = m.group(0) AttributeError: 'NoneType' object has no
attribute
'group'
Attribute error SPSS/Python-Script (reading text from output))
Programming
Software Development
13 Years Ago
by DerKleineDude
…> text = OutputItems.GetTextContents() AttributeError: 'SpssClient.SpssOutputItem' object has no
attribute
'GetTextContents'[/COLOR] I know that the I'm not using…
Re: Attribute error SPSS/Python-Script (reading text from output))
Programming
Software Development
13 Years Ago
by DerKleineDude
…> text = OutputItem.GetTextContents() AttributeError: 'SpssClient.SpssOutputItem' object has no
attribute
'GetTextContents'[/COLOR] I still know "GetTextContents" is inside…
Re: Attribute error SPSS/Python-Script (reading text from output))
Programming
Software Development
13 Years Ago
by DerKleineDude
…> text = OutputItem.GetTextContents() AttributeError: 'SpssClient.SpssOutputItem' object has no
attribute
'GetTextContents'[/COLOR] I guess this leads to this: [QUOTE=peckjonk…
Re: Attribute error SPSS/Python-Script (reading text from output))
Programming
Software Development
13 Years Ago
by DerKleineDude
… to: [COLOR="Red"]AttributeError: 'SpssHeaderItem' object has no
attribute
'GetTextContents'[/COLOR] I inserted it at the same place as…
Attribute Error
Programming
Software Development
13 Years Ago
by gunneronaspooky
….x = box.corner.x + dx AttributeError: Point instance has no
attribute
'x'[/CODE] Thanks for any help.
Attribute 'class' can be specified only once in a tag
Programming
Web Development
12 Years Ago
by naveedqadri
… condition. Error 36 Cannot switch views: Validation (Internet Explorer 6):
Attribute
'class' can be specified only once in a tag. 70…
Re: Attribute 'class' can be specified only once in a tag
Programming
Web Development
12 Years Ago
by Oxiegen
I think it would be easier to add an ID and a runat="server"
attribute
to the TD and change the class from codebehind. Just put a default class there, run the IF statement in the codebehind code and change the class from there.
Re: attribute
Programming
Software Development
14 Years Ago
by mrnutty
They are the member variables. For example : [code] class Person{ private: //attributes int health; int power; public: Person(){ ... }; } [/code] So a health and strength is an
attribute
of a person.
Re: Attribute
Programming
Software Development
15 Years Ago
by Ramy Mahrous
step towards AOP architecture, sometimes you need to run something before calling the method. like if you want to just print to specific user [code=c#] [CheckUserPermission(userName, password)] void print() { //your code } [/code]
If any one can help me with getting each attribute values for different nodes
Programming
Software Development
14 Years Ago
by Solomon Gizaw
…;/xsl:for-each> </xsl:
attribute
> </xsl:element> &…transition/@to"/> </xsl:
attribute
> </xsl:element>…
Servlet Programming....For Setting Attribute.....
Programming
Web Development
13 Years Ago
by sneha mehta
…, ServletResponse response) throws ServletException, IOException { /*Set the context
attribute
*/ ctx.setAttribute("NEW_URL","jdbc:odbc:EmployeesDB"… request, ServletResponse response) throws ServletException, IOException { /*Retrieve the URL
attribute
*/ new_url = (String)ctx.getAttribute("NEW_URL"); System.out.println…
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