NEW WEBSITE LAUNCH
Subscribe to our newsletter

code chat (codechat-bison)

Based on Google’s PaLM 2 large language model, the company specifically trained Codey APIs to handle coding-related prompts, but it also trained the model to handle queries related to Google Cloud.

The code chat API can power a chatbot that assists with code-related questions. For example, you can use it for help debugging code. The code chat API supports the code-chat-bison model.

The Codey APIs support a wide range of programming languages, including C++, C#, Go, GoogleSQL, Java, JavaScript, Kotlin, PHP, Python, Ruby, Rust, Scala, Swift, and TypeScript. You can run with the API and in Generative AI Studio.

Some common use cases for code chat include debugging, where it assists with issues related to code that doesn’t compile or contains a bug; documentation, where it aids in understanding unfamiliar code to ensure accurate representation; and learning, as it provides help in comprehending code that you might not be very familiar with.

Note: We have converted characters to tokens for the prices (based on the approximation of 4 characters per 1 token).

Input

$0.002 / 1k tokens

Output

$0.002 / 1k tokens

Licence

Model

Unit/Currency

code chat (codechat-bison)
This website uses cookies to improve your experience. By using this website you agree to our Privacy Policy Policy.