# \#rust

**URL:** https://community.openai.com/tag/rust/191.md

[Latest](https://community.openai.com/latest.md) · [Categories](https://community.openai.com/categories.md) · [Tags](https://community.openai.com/tags.md)

---

## [An issue related to GPT-4 api](https://community.openai.com/t/an-issue-related-to-gpt-4-api/698374)

<div class="topic-metadata">

**Author:** [@shiveshrane04](https://community.openai.com/u/shiveshrane04)\
**Replies:** 2\
**Last updated:** [March 26, 2024, 5:33pm UTC](https://community.openai.com/t/an-issue-related-to-gpt-4-api/698374 "2024-03-26T17:33:41Z")

</div>

So I was working on a Rust based project which involves using OpenAI gpt-4 api. When I test the function, it panicks/shows an error at a point: "thread ‘models::agents::agent\_backend::tests::tests\_backend\_developer’ pan…

---

## [Openai API Rust client](https://community.openai.com/t/openai-api-rust-client/27313)

<div class="topic-metadata">

**Author:** [@dongrify](https://community.openai.com/u/dongrify)\
**Replies:** 9\
**Last updated:** [January 13, 2024, 7:52am UTC](https://community.openai.com/t/openai-api-rust-client/27313 "2024-01-13T07:52:41Z")

</div>

Hello, I wrote Rust Client for Openai API GitHub: GitHub - dongri/openai-api-rs: OpenAI API client library for Rust (unofficial) I would also love to have it available on the client libraries page. Have a great day!

---

## [Implementing User Input in an Insurance Quoting Chatbot: Best Practices and Examples](https://community.openai.com/t/implementing-user-input-in-an-insurance-quoting-chatbot-best-practices-and-examples/250583)

<div class="topic-metadata">

**Author:** [@mariacastillop15](https://community.openai.com/u/mariacastillop15)\
**Replies:** 6\
**Last updated:** [November 16, 2023, 8:57pm UTC](https://community.openai.com/t/implementing-user-input-in-an-insurance-quoting-chatbot-best-practices-and-examples/250583 "2023-11-16T20:57:36Z")

</div>

I am developing a chatbot to assist users in obtaining insurance quotes. I would like to know how I can obtain the necessary variables through chat with the user, and then use those variables to generate an accurate quot…

---

## [How to generate/modify rust-scripts sourcecode with OpenAI API?](https://community.openai.com/t/how-to-generate-modify-rust-scripts-sourcecode-with-openai-api/267190)

<div class="topic-metadata">

**Author:** [@grzegorz](https://community.openai.com/u/grzegorz)\
**Replies:** 3\
**Last updated:** [July 26, 2023, 8:13am UTC](https://community.openai.com/t/how-to-generate-modify-rust-scripts-sourcecode-with-openai-api/267190 "2023-07-26T08:13:50Z")

</div>

When I asked GPT-4 ChatGPT if can make Rust scripts ( rust-script\_ org (too new account to post links)) it replied that does not know. However Rust scripts is very simple flavor/convention to run: you add UNIX shebang…

---

## [Reuse in Rust, Python (e.g. LangChain) code?](https://community.openai.com/t/reuse-in-rust-python-e-g-langchain-code/298117)

<div class="topic-metadata">

**Author:** [@grzegorz](https://community.openai.com/u/grzegorz)\
**Replies:** 1\
**Last updated:** [July 13, 2023, 5:47pm UTC](https://community.openai.com/t/reuse-in-rust-python-e-g-langchain-code/298117 "2023-07-13T17:47:18Z")

</div>

There is a lot of existing Python code working with LLMs (e.g. LangChain, but not only). I wondered if maybe to allow rolling-rewrites to Rust , or just simple reuse of some Python code in Rust projects, we should consi…

---

## [Rustceans! Tag your posts! And connect with other Rustceans!](https://community.openai.com/t/rustceans-tag-your-posts-and-connect-with-other-rustceans/287051)

<div class="topic-metadata">

**Author:** [@grzegorz](https://community.openai.com/u/grzegorz)\
**Replies:** 9\
**Last updated:** [July 13, 2023, 5:15pm UTC](https://community.openai.com/t/rustceans-tag-your-posts-and-connect-with-other-rustceans/287051 "2023-07-13T17:15:31Z")

</div>

In general I find it hard to connect with other Rust OpenAI users. Should we have separate cateogry? Or should we use “Rust” tag everywhere. How Rustceans should connect?

---

## [Gptrust: a Rust library to access OpenAI API](https://community.openai.com/t/gptrust-a-rust-library-to-access-openai-api/198374)

<div class="topic-metadata">

**Author:** [@kousiknandy](https://community.openai.com/u/kousiknandy)\
**Replies:** 3\
**Last updated:** [July 13, 2023, 4:24pm UTC](https://community.openai.com/t/gptrust-a-rust-library-to-access-openai-api/198374 "2023-07-13T16:24:53Z")

</div>

Hello! I have created a rust project to create a library to interact with gpt (OpenAI API): https://github.com/gptrust/gptrust A rust library gptrust\_api This follows the community standard i.e MIT license, unoffici…

---

## [OpenAI Rust client](https://community.openai.com/t/openai-rust-client/27082)

<div class="topic-metadata">

**Author:** [@Lachezar](https://community.openai.com/u/Lachezar)\
**Replies:** 2\
**Last updated:** [July 13, 2023, 4:23pm UTC](https://community.openai.com/t/openai-rust-client/27082 "2023-07-13T16:23:23Z")

</div>

Hello, Would it be possible to add GitHub - lbkolev/fieri: OpenAI Client to the community-maintained libraries page (OpenAI Platform)? Have a great day!

---

## [Yet another command line client in rust](https://community.openai.com/t/yet-another-command-line-client-in-rust/149353)

<div class="topic-metadata">

**Author:** [@mustmolenberg](https://community.openai.com/u/mustmolenberg)\
**Replies:** 1\
**Last updated:** [July 13, 2023, 4:22pm UTC](https://community.openai.com/t/yet-another-command-line-client-in-rust/149353 "2023-07-13T16:22:13Z")

</div>

Friends If anybody cares I am working on a rust cli interface to the OpenAI API I have implemented completions, chat, and some of image. It is very rough around the edges as I feel my way into it It is here in source…

---

## [Which models for which API](https://community.openai.com/t/which-models-for-which-api/147818)

<div class="topic-metadata">

**Author:** [@mustmolenberg](https://community.openai.com/u/mustmolenberg)\
**Replies:** 3\
**Last updated:** [July 13, 2023, 4:17pm UTC](https://community.openai.com/t/which-models-for-which-api/147818 "2023-07-13T16:17:17Z")

</div>

I am writing a small CLI interface in Rust to access the API (Here if any body cares) When switching between models and completions and chat it would be useful to filter the available models to the API endpoint. How c…
