Join the discussions about products powered by Cognite Data Fusion. Click the + CREATE TOPIC button in the menu bar to start the conversation.
Recently active
Hi, Is it possible to use multiple clients for the same Cognite Function? I know the handle function only takes one client as argument, but is it possible to initialize another client inside the function? I want my Cognite function to read from prod environment, but write to dev environment, which necessitates two clients. Thanks.
Semantic search is a new service under the existing Documents API in Cognite Data Fusion. For details on what semantic search is and an introduction to the service, please see attached presentation below.The service lets you search for relevant parts (passages) of up to 100 documents by using advanced filters and semantic search queries. Semantic search works by comparing the semantic meaning of the search query to the semantic meaning of the document passages. The document passages are automatically derived and indexed upon file uploads (PDF only).The flow for using semantic search on set of documents is as follows: Upload the PDF documents to Cognite Data Fusion Query /documents/status to check if the document is ready Query /documents/semantic/search to find relevant passages in the document(s)Documentation for the service is being developed. Please find documentation for the respective endpoints below:/documents/status /documents/semantic/search
Deployment of workflow , can you guide how we can automate deployment of cognite workflows using sdk
Hey Data Workflows users!TL;DR If you’re using the workflow execution cancellation endpoint, with the python SDK or without, you will have to update your workflow execution cancellation calls before 29/05/2024. More information below.In our push towards making the Data Workflows API generally available in the June release, we aim to ensure a consistent and expected experience across the API. For this reason, we’ve decided to make a breaking change to the workflow execution cancellation endpoint. Endpoint changesIn summary, the cancellation endpoint now only allows the cancellation of a single execution at a time instead of allowing multiple executions to be cancelled in one call. The updated API documentation can be found here. The python SDK, starting from version 7.42.0, will now point to the new endpoint. An example call to the new endpoint using the Python SDK can be found here.TimelineThe new endpoint is already available for use. To assist with the transition, the old endpoint wi
While testing versions of the cognite-sdk python >= 7.37.0, we noticed a performance issue in the "retrieve_dataframe" method of the time series API for all versions 7.37.x ( x >= 0 and x <= 3). Example: For the same data window, we tested with version 7.0.0 and the latest versions. The processing time for version 7.0.0 in this method was less than 5 seconds, while for newer versions the processing time was 3 minutes.
Hi!We have decided to move the feature from “Integrate” to “Contextualize”. We believe the process of parsing documents is a contextualization process as this is a process that takes places when the data is in CDF. This change should be reflected by the end of the day.Regards,Redza RosliSoftware Engineer in AI in Data Onboarding
Hello Team I have a .pid file, generated from the https://hexagon.com/products/intergraph-smart-p-id software. Is there a way in CDF to read the files directly - meaning I’d like to see the vector, layers and properties natively and not rely on generating a PDF and doing an OCR.If I must write a connector myself, how do I go about it? Is there an industry standard format for .pid file, is so perhaps there is business case to commercialize such a connector?Appreciate your hints!RegardsAlex
While doing the CDF Fundamentals, I’ve found out that if you don’t select a Data Set ID while uploading your PDF file, you later won’t be able to link it to your Asset, as your Data Set won’t be found. Also I didn’t find a way to edit this later. I had to upload a new file and select my Data Set ID. Is this expected? What was confusing to me is the fact that the Data Set ID is marked as optional. If this is not the case, this should be flagged as mandatory in order to upload any file.
Hello,I am trying to follow along the Entity matching notebook in the data Engineering learning module. I am having trouble generating COGNITE SECRET to run the notebook - kindly let me know if I may have missed a lesson. thanks,Lavanya
Are Cognite Charts calculations published back to CDF?
Hi, I am on Data Engineer Learn training. When I try to make my first API request for the publicdata project, I get a 404 Not Found error: The GET url I was asked to use is{{baseurl}}/api/v1/projects/{{project}}/assets I also replaced {{project}} with ‘publicdata’ with same result. Kindly let me know.
We're thrilled to share that CDF user interface is available in 10 new languages (Deutsch 🇩🇪, Español 🇪🇸, Français 🇫🇷, Italiano 🇮🇹, Nederlands🇳🇱, Português🇵🇹, Svenska 🇸🇪, 한국어 🇰🇷, 中文🇨🇳, 日本語 🇯🇵) to make your experience even more accessible and user-friendly.We've expanded our language support to bring the power of our platform to a global audience. You can now select your preferred language from the upper right corner of your profile by clicking on <Manage account>:Click the avatar on the top rightWhen on the /profile/ page click on the <Language> left button pick your preferred language from the list:Button reads <Langue> as user has chosen Français language from beforeAfter one selects the language, the page will reload and present the user with the interface in the chosen language. Your Opinion Matters 🗣️We're committed to ensuring that our multilingual interface exceeds your expectations & we want to hear from you! To do that, we need to
Hello, I am trying to perform a calculation on Charts but it does not work. It is a multiplication of 4 time series, all of them with a resample to granularity to 1m. One of them has real values and 3 of them are 0/1 steps. When I zoom out, I can see the calculation and it shows a pick of values, that is not accurate as it shows average data. Although when I zoon in to see the data, the trend disappears, the error says “One of the time series has less than two values”. As I resampled the data to 1 minute, I was expecting to see one values per minute, but it does not seems to happen. Is there other way to calculate the data correctly? Zoom in:
hi,I am trying to access the data science training, and it requires two credits and when hit purchase it is freezing, any help for this matter ?
Hi, Unable to connect CDF data source to Grafana.Please suggest asap on this.Thanks
There is similar question posted in other community. Please refer that.
Im trying to create a new function in python, when I run this function from local it works fine but when I run it from cdf service it does not work. I got this error message: CogniteAPIError: <!doctype html><html lang=en><title>500 Internal Server Error</title><h1>Internal Server Error</h1><p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p> | code: 500 | X-Request-ID: 04b27193-d865-98d5-8a2a-11b94126e8eb
Hello everyone. We have some checklists where the operators measure the length of something, usually in feet and inches, like 1’10”. We have been facing some trouble creating tasks with this type of data on the templates, we could only add decimal numbers. How have you been handling this type of data?Thank you.
Hey Data Workflows users!We’ve just released highly-requested feature for Data Workflows, namely, being able to retry failed or timed-out executions. This endpoint resumes a previously failed, timed out, or terminated workflow execution by retrying tasks that did not complete successfully. It aims to resume execution activity from the point(s) of failure.Behaviour of the retry operation:Targeted Task Retry: Only retries tasks that have stopped in a terminal state such as CANCELED, FAILED, FAILED_WITH_TERMINAL_ERROR, and TIMED_OUT. Optional tasks are not retried. Subworkflows and Dynamic Tasks: When a failure occurs within a subworkflow or as part of a dynamic task, only the individual nested tasks that failed are retried. The subworkflow or dynamic task container itself is not retried. Retry Limits: Tasks that have reached or exceeded their designated retry limits will not have their retry counts reset to zero. Instead, each retry request permits these tasks a single additional retry.T
I’m trying to upload a raster file to cdf, but I get this error message when trying to create the feature type. cognite.client.exceptions.CogniteAPIError: RASTER properties only support embedded storage. | code: 400 | X-Request-ID: 21781349-8ad8-9710-abdb-7c7199a268e7raster_ft = FeatureType( external_id="Raster_ft", data_set_id=1, properties={ "raster": {"type": "RASTER"} })client.geospatial.create_feature_types(raster_ft) # gives error messageIs this the right method to upload a raster to cdf? I found a method put_raster() in the docs, but it seems to require feature and feature type to be created already. The rest of my code: # create raster featurefeature = Feature( external_id=f'raster.test', data_set_id=1, raster=open(raster_filepath) # What do I put here?)client.geospatial.create_features(feature_type_external_id='Raster_ft', feature=feature)# looks like I need the feature with the raster property, do I need this function?client.geospatial.put_raste
When installing pygen in a CDF notebook you may be met with ValueError: Requested 'typing-extensions>=4.10.0; python_version < "3.13"', but typing-extensions==4.7.1 is already installedThis is currently a known bug, which we are working on solving. For now, the workaround is to manually uninstall `typing-extensions` using micropip. The code to do so is documented in the installation of pygen along with other known issues and solutions.
If you ever wondered what each of the different professions in Cognite do, Generative AI has the answer :)
Hi Team, I have a dataset consisting of Timeseries, Assets, Files and Sequences in one tenant. I wanted to export this dataset into another tenant. Is it possible for exporting the whole dataset as a zip file and then importing to the other. Or is there any other method specified by CDF for the same .
The recently released version `7.37.0` of the Python-SDK which pygen depends on broke pygen. This is fixed in `0.99.20`. For versions before 0.99.20 you will be met with `ImportError: cannot import name 'ListablePropertyType' ...` when you try to generate an SDK.
Hi everyone, I would like to know if there are timeout restrictions for functions, as I've been executing a function that reads data from a RAWs table in batches, and since there are many records (1M), it takes up to 10 minutes and I get a timeout error. Is there a way to configure this restriction? Running the same function code on a local machine takes around 2 or 3 hours. Regards,Karina Saylema@Aditya Kotiyal @HanishSharma @Jason Dressel @Jairo Salaya @Liliana Sierra