#just trying codium quick couldnt seem to
1 messages · Page 1 of 1 (latest)
That's strange, do you think you could paste / screenshot what your context looks like?
//create a vanilla javascript with no frameworks api call to query the google search api and print the data to the console output
various iterations of this
i know it's not fair to compare to chatgpt but the result i got from them first try was this
// Make an HTTP GET request to the Google Search API
var request = new XMLHttpRequest();
request.open('GET', 'https://www.googleapis.com/customsearch/v1?key=YOUR_API_KEY&cx=YOUR_SEARCH_ENGINE_ID&q=QUERY', true);
request.onload = function() {
// Print the data to the console
console.log(this.response);
};
request.send();
Make sure to replace YOUR_API_KEY and YOUR_SEARCH_ENGINE_ID with your actual API key and search engine ID. You can also specify the search query by replacing QUERY with the desired search term.
This code will make an HTTP GET request to the Google Search API and print the data to the console output.
I hope this helps! Let me know if you have any questions.```
Ah yeah, for something free form like this. Codeium is not currently able to free form generate all the code for you without a lot more context. It can fill in functions or pieces as you are writing it (similar to copilot).
We're thinking through how we can also add longer form responses in the form of an assistant.
Right and a lot of the time when you are working on a more complex codebase it can finish entire functions for you since it has context / accelerate your existing development
okay, knowing that's the purpose i will use it as intended
We do see tools like chatgpt as being incredibly helpful so this is on our radar as well 🙂