Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
24-SP-Poglitsch-Giner-GenAgents
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Giner, Aaron
24-SP-Poglitsch-Giner-GenAgents
Commits
400f7975
Commit
400f7975
authored
7 months ago
by
Giner, Aaron
Browse files
Options
Downloads
Patches
Plain Diff
removed API keys/access tokens from files
parent
1738267c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+3
-1
3 additions, 1 deletion
README.md
unity/Assets/Scripts/GenerativeAgents/ChatSessionManager.cs
+2
-2
2 additions, 2 deletions
unity/Assets/Scripts/GenerativeAgents/ChatSessionManager.cs
with
5 additions
and
3 deletions
README.md
+
3
−
1
View file @
400f7975
...
...
@@ -17,4 +17,6 @@
1) Open sample-scene
`ExampleScene`
.
2) Models can be selected in the Inspector of the
`test`
GameObject.
3) Add an Agent in den Editor GUI:
`Window/Generative Agents`
4) Start instance
\ No newline at end of file
4) Start instance
5) Add your OpenAI API key in
`ChatSessionManager.cs`
script to use the OpenAI API.
5) Add your own access token in
`ChatSessionManager.cs`
script for any model repos that require one
\ No newline at end of file
This diff is collapsed.
Click to expand it.
unity/Assets/Scripts/GenerativeAgents/ChatSessionManager.cs
+
2
−
2
View file @
400f7975
...
...
@@ -15,9 +15,9 @@ public class ChatSessionManager : MonoBehaviour
modelFile
:
"llama-2-7b-chat.Q4_K_M.gguf"
,
modelTokRepo
:
"meta-llama/Llama-2-7b-chat-hf"
,
allowSystemPrompt
:
true
,
apiKey
:
"
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
"
),
apiKey
:
"
to_replace
"
),
new
Model
(
openAIModel
:
"gpt-3.5-turbo"
,
apiKey
:
"
sk-proj-aUDdsiCXHDwoHewZFL9AT3BlbkFJIkKZEYaMi5AGEBDbW2zv
"
),
apiKey
:
"
to_replace
"
),
};
private
enum
ModelOption
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment