You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
letfile_name=env::var("FILE_NAME").expect("FILE_NAME is not set in the .env file.");
692
+
letfile_id=env::var("FILE_ID").expect("FILE_ID is not set in the .env file.");
691
693
692
694
letparameters=CreateFineTuningJobParameters {
693
695
model:"gpt-3.5-turbo-1106".to_string(),
694
-
training_file:file_name,
696
+
training_file:file_id,
695
697
hyperparameters:None,
696
698
suffix:None,
697
699
validation_file:None,
@@ -865,6 +867,24 @@ async fn main() {
865
867
866
868
More information [Create moderation](https://platform.openai.com/docs/api-reference/moderations/create)
867
869
870
+
## Assistants (beta)
871
+
872
+
Build assistants that can call models and use tools to perform tasks.
873
+
874
+
For more information see the examples in the [examples/assistants](https://github.com/tjardoo/openai-client/tree/master/examples/assistants) directory.
875
+
876
+
- Create assistant
877
+
- Retrieve assistant
878
+
- Modify assistant
879
+
- Delete assistant
880
+
- List assistants
881
+
- Create assistant file
882
+
- Retrieve assistant file
883
+
- Delete assistant file
884
+
- List assistant files
885
+
886
+
More information [Assistants](https://platform.openai.com/docs/api-reference/assistants)
0 commit comments